curcuru     00/11/01 15:24:21

  Added:       test/tests/contrib/identity identity01.xml identity01.xsl
  Log:
  Sample identity transform test
  
  Revision  Changes    Path
  1.1                  xml-xalan/test/tests/contrib/identity/identity01.xml
  
  Index: identity01.xml
  ===================================================================
  <?xml version="1.0"?> 
  <list>
    <item>Xalan-J 1.x</item>
    <item>Xalan-J 2.x</item>
    <item>Xalan-C 1.x</item>
    <list>
      <item>Xalan documentation</item>
      <item>Xalan tests</item>
    </list>
  </list>
  
  
  
  1.1                  xml-xalan/test/tests/contrib/identity/identity01.xsl
  
  Index: identity01.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
  <!-- From the XSLT spec: "the identity transformation can be written using 
xsl:copy as follows:" -->
    <xsl:template match="@*|node()">
      <xsl:copy>
        <xsl:apply-templates select="@*|node()"/>
      </xsl:copy>
    </xsl:template>
       
  </xsl:stylesheet>
  
  
  

Reply via email to