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/11/21 00:04:59 UTC
cvs commit: xml-xalan/test/tests/conferr/impinclerr impinclerr10.xsl impinclerr10.xml
dmarston 2002/11/20 15:04:59
Added: test/tests/conferr/impinclerr impinclerr10.xsl
impinclerr10.xml
Log:
Better coverage of apply-imports
Revision Changes Path
1.1 xml-xalan/test/tests/conferr/impinclerr/impinclerr10.xsl
Index: impinclerr10.xsl
===================================================================
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<!-- FileName: impinclerr10 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 5.6 Overriding Template Rules -->
<!-- Creator: David Marston -->
<!-- Purpose: Try to put a child element on apply-imports -->
<!-- ExpectedException: xsl:with-param is not allowed in this position in the stylesheet! -->
<xsl:import href="../fragments/impwparam.xsl"/>
<xsl:output method="xml" encoding="UTF-8" indent="no"/>
<xsl:template match="doc">
<out>
<xsl:apply-templates select="*"/>
</out>
</xsl:template>
<xsl:template match="tag">
<div style="border: solid blue">
<xsl:apply-imports>
<xsl:with-param name="p1" select="'main'"/>
</xsl:apply-imports>
</div>
</xsl:template>
</xsl:stylesheet>
1.1 xml-xalan/test/tests/conferr/impinclerr/impinclerr10.xml
Index: impinclerr10.xml
===================================================================
<?xml version="1.0"?>
<doc>
<tag>Example of apply-imports</tag>
</doc>
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org