December 2002
Intermediate to advanced
576 pages
32h
English
<xsl:key>
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")
<xsl:key name="name"
match="pattern"
use="expression"/>Read now
Unlock full access