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 2002/05/22 19:26:47 UTC
cvs commit: xml-xalan/test/tests/conferr/outputerr outputerr13.xsl
dmarston 02/05/22 10:26:47
Modified: test/tests/conferr/outputerr outputerr13.xsl
Log:
Improve comments and messages
Revision Changes Path
1.2 +13 -13 xml-xalan/test/tests/conferr/outputerr/outputerr13.xsl
Index: outputerr13.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conferr/outputerr/outputerr13.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- outputerr13.xsl 14 Dec 2001 22:47:24 -0000 1.1
+++ outputerr13.xsl 22 May 2002 17:26:47 -0000 1.2
@@ -1,23 +1,23 @@
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: outperr13 -->
+ <!-- FileName: outputerr13 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
- <!-- Section: 7.3 Creating Processing Instructions. -->
- <!-- Purpose: Processing instruction content can't create nodes other then
- text nodes. -->
+ <!-- Section: 7.3 Creating Processing Instructions -->
+ <!-- Purpose: Instructions that are content of xsl:processing-instruction can't create
+ nodes other than text nodes. -->
<!-- ExpectedException: Can not add xsl:element to xsl:processing-instruction -->
- <!-- ExpectedException: xsl:element is not allowed in this position in the stylesheet! -->
+ <!-- ExpectedException: xsl:element is not allowed in this position in the stylesheet -->
<xsl:template match="doc/tag">
- <out>
- <xsl:processing-instruction name="mytag">
- <xsl:element name="trythis">
- <xsl:value-of select="."/>
- </xsl:element>
- </xsl:processing-instruction>
- </out>
+ <out>
+ <xsl:processing-instruction name="mytag">
+ <xsl:element name="trythis">
+ <xsl:value-of select="."/>
+ </xsl:element>
+ </xsl:processing-instruction>
+ </out>
</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