2005-07-01  XSLT Scrapbook: Identity transform

The identity transform - what goes in is what comes out.


<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  <xsl:template match="@*|node()">
    <xsl:copy>
      <xsl:apply-templates select="@*|node()"/>
    </xsl:copy>
  </xsl:template>
</xsl:stylesheet>

 
[Add a comment]

Jez Higgins