April 2001
Intermediate to advanced
112 pages
2h 15m
English
<xsl:key>
<xsl:key name=”name" match=”pattern" use=”expression“/>
Keys are comparable to identifiers in XML. This
element is used in xsl:stylesheet
to create a reference to elements specified by the pattern
and expression values. For example:
<xsl:key name="chap" match="chapter" use="@title"/>
This element creates a key named chap
to identify chapters by title. You can then reference a chapter
with an XPath function such as:
key("chap", "The XSL Language")Read now
Unlock full access