<xsl:key name="idkey" match="div" use="@id"/> |
<!ATTLIST div id ID #IMPLIED> |
<prototype name="key" return-type="node-set"><br> <arg type="string"/><br> <arg type="object"/><br> </prototype> |
<function>key</function> |
<xsl:key name="func" match="prototype" use="@name"/> <xsl:template match="function"><br> <b> <a href="#{generate-id(key('func',.))}"> <xsl:apply-templates/> </a> </b> </xsl:template> <xsl:template match="prototype"> <p> <a name="{generate-id()}"> <b> Function: </b> ... </a> </p> </xsl:template> |
<entry name="XSLT">...</entry> |
<xsl:key name="bib" match="entry" use="@name"/> <xsl:template match="bibref"> <xsl:variable name="name" select="."/> <xsl:for-each select="document('bib.xml')"> <xsl:apply-templates select="key('bib',$name)"/> </xsl:for-each> </xsl:template> |
preceding-sibling::*[1] | Table | following-sibling::*[1] |