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/02/15 20:19:10 UTC
cvs commit: xml-xalan/test/tests/api/xalanj1 EmbeddedReuseTest1.xml EmbeddedReuseTest1.xsl
curcuru 01/02/15 11:19:08
Added: test/tests/api/xalanj1 EmbeddedReuseTest1.xml
EmbeddedReuseTest1.xsl
Log:
New stylesheets for StylesheetReuseTest
Revision Changes Path
1.1 xml-xalan/test/tests/api/xalanj1/EmbeddedReuseTest1.xml
Index: EmbeddedReuseTest1.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xml" href="EmbeddedReuseTest1.xsl"?>
<list>
<item>Xalan-J 1.x</item>
<item>Xalan-J 2.x</item>
<item>Xalan-C 1.x</item>
<list>
<item>Xalan documentation</item>
<item>Xalan tests</item>
</list>
</list>
1.1 xml-xalan/test/tests/api/xalanj1/EmbeddedReuseTest1.xsl
Index: EmbeddedReuseTest1.xsl
===================================================================
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<!-- From the XSLT spec: "the identity transformation can be written using xsl:copy as follows:" -->
<xsl:template match="@*|node()">
<embedded-reuse-test>
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</embedded-reuse-test>
</xsl:template>
</xsl:stylesheet>