You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by am...@apache.org on 2001/10/22 15:00:09 UTC

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

amiro       01/10/22 06:00:09

  Added:       test/tests/conf/copy copy49.xml copy49.xsl
  Log:
  new test on copy-of and xml:lang attribute
  
  Revision  Changes    Path
  1.1                  xml-xalan/test/tests/conf/copy/copy49.xml
  
  Index: copy49.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <doc id="1" class="mobile" xml:lang="en" >
  <text>Sample text</text>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/copy/copy49.xsl
  
  Index: copy49.xsl
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
          <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
    <!-- FileName: copy49 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 7.5 -->
    <!-- Creator: Tony Pentinnen (submitted by Tom Amiro)  -->
    <!-- Purpose: Verify xml:lang attributes can be copied from source to result -->
  
  <xsl:template match="doc">
  <document>
  <xsl:copy-of select="@*" />
  </document>
  </xsl:template>
  </xsl:stylesheet>
  
  
  

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