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> </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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
