You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by sb...@apache.org on 2001/08/06 07:29:47 UTC

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

sboag       01/08/05 22:29:47

  Added:       test/tests/conf/copy copy29.xsl copy29.xml
  Log:
  Tests current() function in root.
  
  Revision  Changes    Path
  1.1                  xml-xalan/test/tests/conf/copy/copy29.xsl
  
  Index: copy29.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  
    <!-- FileName: copy29 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 12.4 current() -->
    <!-- Creator: David Marston -->
    <!-- Purpose: current() should work in copy-of. -->
  
  <xsl:template match="/">
    <out>
      <xsl:copy-of select="."/>
      <xsl:text>&#10;</xsl:text>
      <xsl:copy-of select="current()"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  xml-xalan/test/tests/conf/copy/copy29.xml
  
  Index: copy29.xml
  ===================================================================
  <?xml version="1.0"?> 
  <doc name="foo">
    <!-- This is a comment -->
      test<![CDATA[<]]> 
    <?a-pi some data?>
  </doc>
  
  

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