summaryrefslogtreecommitdiff
path: root/tests/REC/test-12.2-1.xsl
blob: daf297a00604723151c3d61415e65bebb7d054a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
<xsl:stylesheet version="1.0"
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      xmlns:fo="http://www.w3.org/1999/XSL/Format">

<xsl:key name="idkey" match="div" use="@id"/>

<xsl:template match="doc">
<xsl:value-of select="key('idkey','lookup')"/>
</xsl:template>

</xsl:stylesheet>