You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by mk...@apache.org on 2002/11/12 16:41:16 UTC
cvs commit: xml-xalan/java/xdocs/sources/xalan extensions_xsltc.xml
mkwan 2002/11/12 07:41:16
Modified: java/xdocs/sources/xalan extensions_xsltc.xml
Log:
Fix problems in the XSLTC redirect sample. This sample was copied from
xsltc_constraints.xml. It works with XSLTC, but not using a good syntax.
It is better to change "xsl:version" to "version" and add a "extension-
element-prefixes" attribute.
Revision Changes Path
1.2 +4 -3 xml-xalan/java/xdocs/sources/xalan/extensions_xsltc.xml
Index: extensions_xsltc.xml
===================================================================
RCS file: /home/cvs/xml-xalan/java/xdocs/sources/xalan/extensions_xsltc.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- extensions_xsltc.xml 4 Nov 2002 19:15:25 -0000 1.1
+++ extensions_xsltc.xml 12 Nov 2002 15:41:16 -0000 1.2
@@ -217,14 +217,15 @@
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsltc="http://xml.apache.org/xalan/xsltc"
xmlns:redirect="http://xml.apache.org/xalan/redirect"
- xsl:version="1.0">
+ extension-element-prefixes="xsltc redirect"
+ version="1.0">
<xsl:template match="/">
<xsl:text>This goes to standard output</xsl:text>
<xsltc:output file="blob.xml">
<xsl:text>This ends up in the file 'blob.xml'</xsl:text>
</xsltc:output>
- <redirect:write file="blob.xml" append="true">
- <xsl:text>This is appended to the file 'blob.xml'</xsl:text>
+ <redirect:write file="blob2.xml">
+ <xsl:text>This ends up in the file 'blob2.xml'</xsl:text>
</redirect:write>
</xsl:template>
</xsl:stylesheet></source>
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org