December 2002
Intermediate to advanced
576 pages
32h
English
<xsl:copy-of>
The <xsl:copy-of> instruction inserts the
result tree fragment identified by the select
attribute into the output document. This copies not only the specific
node or nodes identified by the expression, but also all those
nodes’ children, attributes, namespaces, and
descendants. (This is how it differs from
xsl:copy.) If the expression selects something
other than a node set or a result tree fragment
(e.g., a number), then the expression is converted
to its string value, and the string is output.
<xsl:copy-of
select="expression"/>Read now
Unlock full access