[oXygen-user] copy of processing instructions
Syd Bauman
Syd_Bauman at Brown.edu
Wed May 22 08:17:48 CDT 2013
The identity transformation, e.g.,
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
copies the input to the output, including processing instructions.
(In this case the node() selector matches text(), comment(),
element(), and processing-instruction().).) That is, everything but
attributes, which are matched by the "@*" (same as attribute::*).
> I want to transform some XML-Documents containing some Track
> Changes Markup, <?oxy_delete?> for example. I need a deep copy of
> the document. How can I preserve these PIs during a
> XSLT-Transformation?
More information about the oXygen-user
mailing list