You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by cu...@apache.org on 2001/05/18 20:14:23 UTC
cvs commit: xml-xalan/test/tests/bugzilla Bugzilla1330.xsl
curcuru 01/05/18 11:14:21
Added: test/tests/bugzilla Bugzilla1330.xsl
Log:
Simplified reproduction of Bugzilla 1330
Revision Changes Path
1.1 xml-xalan/test/tests/bugzilla/Bugzilla1330.xsl
Index: Bugzilla1330.xsl
===================================================================
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
xmlns:lxslt="http://xml.apache.org/xslt"
xmlns:redirect="org.apache.xalan.lib.Redirect"
extension-element-prefixes="redirect">
<lxslt:component prefix="redirect" elements="write open close" functions="">
<lxslt:script lang="javaclass" src="org.apache.xalan.lib.Redirect"/>
</lxslt:component>
<xsl:param name="redirectOutputName" select="'Redirect1330.out'"/>
<xsl:template match="doc">
<out>
<xsl:message>Your main output document should have a main-doc-comment and a main-doc-elem</xsl:message>
<xsl:comment>main-doc-comment</xsl:comment>
<redirect:write select="$redirectOutputName">
<out>
<xsl:message>Your redirected document <xsl:value-of select="$redirectOutputName"/> should have a redirect-doc-comment and a redirect-doc-elem</xsl:message>
<xsl:comment>redirect-doc-comment</xsl:comment>
<redirect-doc-elem/>
</out>
</redirect:write>
<main-doc-elem/>
</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