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/11/21 17:23:11 UTC
cvs commit: xml-xalan/test/tests/conf/select select71.xsl
dmarston 01/11/21 08:23:11
Modified: test/tests/conf/select select71.xsl
Log:
Fix axis problem noted by Morten Jorgensen.
Revision Changes Path
1.2 +10 -9 xml-xalan/test/tests/conf/select/select71.xsl
Index: select71.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/select/select71.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- select71.xsl 2000/12/17 21:34:44 1.1
+++ select71.xsl 2001/11/21 16:23:11 1.2
@@ -1,23 +1,24 @@
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-<xsl:output indent="yes"/>
<!-- FileName: select71 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 3.3 Nodesets. -->
- <!-- Purpose: test union operator using overlapping node-sets. Results should
+ <!-- Purpose: Test union operator using overlapping node-sets. Results should
always be output in doc order regardless of order of select attribute. -->
<!-- Creator: Paul Dick -->
+<xsl:output indent="no"/>
+
<xsl:template match="directions">
-<out><xsl:text>
-</xsl:text>
-<xsl:copy-of select="north/* | north/dup1 | north/dup2"/>,
-<xsl:copy-of select="north/dup2 | north/dup1 | north/*"/>,
-<xsl:copy-of select="//north/dup2 | south/preceding-sibling[4] | north/dup1 | north/*"/>,
-<xsl:copy-of select="north/dup2 | document('select71.xml')/south/preceding-sibling[4] | north/*"/>
-</out>
+ <out><xsl:text>
+ </xsl:text>
+ <xsl:copy-of select="north/* | north/dup1 | north/dup2"/>,
+ <xsl:copy-of select="north/dup2 | north/dup1 | north/*"/>,
+ <xsl:copy-of select="//north/dup2 | south/preceding-sibling::*[4]/* | north/dup1 | north/*"/>,
+ <xsl:copy-of select="north/dup2 | document('select71.xml')/south/preceding-sibling::*[4]/* | north/*"/>
+ </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