Statistics
| Revision:

root / tmp / org.txm.core / res / org / txm / xml / xsl / identity.xsl @ 187

History | View | Annotate | Download (425 Bytes)

1
<!-- The Identity Transformation -->
2
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3
  <!-- Whenever you match any node or any attribute -->
4
  <xsl:template match="node()|@*">
5
    <!-- Copy the current node -->
6
    <xsl:copy>
7
      <!-- Including any attributes it has and any child nodes -->
8
      <xsl:apply-templates select="@*|node()"/>
9
    </xsl:copy>
10
  </xsl:template>
11
</xsl:stylesheet>