You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by dm...@apache.org on 2001/11/28 20:49:50 UTC

cvs commit: xml-xalan/test/tests/conf/copy copy50.xsl copy50.xml

dmarston    01/11/28 11:49:50

  Added:       test/tests/conf/copy copy50.xsl copy50.xml
  Log:
  Test case inspired by a bug report.
  
  Revision  Changes    Path
  1.1                  xml-xalan/test/tests/conf/copy/copy50.xsl
  
  Index: copy50.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  
    <!-- FileName: COPY50 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 11.3 -->
    <!-- Creator: Joerg Heinicke (joerg.heinicke@gmx.de) -->
    <!-- Purpose: Attribute encountered before first copied node must not be copied. -->
    <!-- Discretionary: add-attribute-to-non-element="ignore" -->
  
  <xsl:output method="xml" encoding="UTF-8"/>
  
  <xsl:template match="test">
    <xsl:copy-of select="*|@*"/>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  xml-xalan/test/tests/conf/copy/copy50.xml
  
  Index: copy50.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <test test="test">
    <test2 test2="test2">
      <test3 test3="test3"/>
    </test2>
  </test>
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org