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 2001/01/31 23:42:17 UTC
cvs commit: xml-xalan/test/tests/conf/numbering numbering25.xsl
dmarston 01/01/31 14:42:17
Modified: test/tests/conf/numbering numbering25.xsl
Log:
Revise output for easier comparison to Gold
Revision Changes Path
1.2 +8 -2 xml-xalan/test/tests/conf/numbering/numbering25.xsl
Index: numbering25.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/numbering/numbering25.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- numbering25.xsl 2000/11/27 19:24:06 1.1
+++ numbering25.xsl 2001/01/31 22:42:15 1.2
@@ -15,14 +15,20 @@
<!-- Elaboration: Numbering inside different template is still based on position
of each node in the source tree, if there is no value attribute in xsl:number. -->
-<xsl:template match="doc/chapter">
+<xsl:template match="/">
<out>
+ <xsl:apply-templates/>
+ </out>
+</xsl:template>
+
+<xsl:template match="doc/chapter">
+ <list>
<xsl:text> </xsl:text>
<xsl:for-each select="note">
<xsl:sort data-type="text" order="descending"/>
<xsl:apply-templates select="." mode="numbering"/>
</xsl:for-each>
- </out>
+ </list>
</xsl:template>
<xsl:template match="note" mode="numbering">