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/10/05 00:17:08 UTC
cvs commit: xml-xalan/test/tests/conf/axes axes109.xsl axes109.xml
dmarston 01/10/04 15:17:08
Modified: test/tests/conf/axes axes109.xsl axes109.xml
Log:
Improve test, but results unchanged
Revision Changes Path
1.2 +5 -5 xml-xalan/test/tests/conf/axes/axes109.xsl
Index: axes109.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/axes/axes109.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- axes109.xsl 2000/12/16 01:06:21 1.1
+++ axes109.xsl 2001/10/04 22:17:08 1.2
@@ -1,17 +1,17 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<!-- FileName: axes109 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.2 -->
- <!-- Purpose: Tests following axes starting with a attribute axes. -->
+ <!-- Purpose: Tests following axis starting from an attribute. -->
<!-- Author: Scott Boag -->
<xsl:template match="/">
<out>
- <xsl:for-each select="//c/@*">
- <xsl:apply-templates select="following::*"/>
+ <xsl:for-each select="//c/@x">
+ <xsl:apply-templates select="following::*"/>
</xsl:for-each>
</out>
</xsl:template>
@@ -20,4 +20,4 @@
<xsl:text> </xsl:text><xsl:value-of select="name()"/>
</xsl:template>
-</xsl:stylesheet>
+</xsl:stylesheet>
\ No newline at end of file
1.2 +10 -1 xml-xalan/test/tests/conf/axes/axes109.xml
Index: axes109.xml
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/axes/axes109.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- axes109.xml 2000/12/16 01:06:21 1.1
+++ axes109.xml 2001/10/04 22:17:08 1.2
@@ -1,2 +1,11 @@
<?xml version="1.0"?>
-<a><b><c x="x"><d1/><d2/></c><c2/></b><b2/></a>
+<a>
+ <b>
+ <c x="x">
+ <d1/>
+ <d2 x="bad"/>
+ </c>
+ <c2/>
+ </b>
+ <b2/>
+</a>
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org