dmarston 00/12/29 12:01:53
Modified: test/tests/conf/position position77.xsl position02.xsl
position03.xsl position04.xsl position05.xsl
position06.xsl position07.xsl position08.xsl
position09.xsl position10.xsl position11.xsl
position12.xsl position13.xsl position14.xsl
position15.xsl position16.xsl position17.xsl
position18.xsl position19.xsl position20.xsl
position21.xsl position22.xsl position23.xsl
position24.xsl position25.xsl position26.xsl
position27.xsl position28.xsl position29.xsl
position30.xsl position31.xsl position32.xsl
position33.xsl position34.xsl position35.xsl
position36.xsl position37.xsl position38.xsl
position39.xsl position40.xsl position41.xsl
position42.xsl position43.xsl position44.xsl
position45.xsl position46.xsl position47.xsl
position48.xsl position49.xsl position50.xsl
position51.xsl position52.xsl position53.xsl
position54.xsl position55.xsl position56.xsl
position57.xsl position58.xsl position59.xsl
position60.xsl position61.xsl position62.xsl
position63.xsl position64.xsl position65.xsl
position66.xsl position67.xsl position68.xsl
position69.xsl position70.xsl position71.xsl
position72.xsl position73.xsl position74.xsl
position75.xsl position76.xsl position01.xsl
Log:
Improve comments
Revision Changes Path
1.2 +2 -1 xml-xalan/test/tests/conf/position/position77.xsl
Index: position77.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position77.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position77.xsl 2000/12/15 22:37:33 1.1
+++ position77.xsl 2000/12/29 20:01:18 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS77 -->
+ <!-- FileName: position77 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 5.4 -->
<!-- AdditionalSpec: 4, 10 and "current node list" in 1 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test positional indexing in current node list passed
via apply-templates with select that has predicate. -->
1.2 +5 -4 xml-xalan/test/tests/conf/position/position02.xsl
Index: position02.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position02.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position02.xsl 2000/12/15 22:37:33 1.1
+++ position02.xsl 2000/12/29 20:01:18 1.2
@@ -1,11 +1,12 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS02 -->
+ <!-- FileName: position02 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
- <!-- Purpose: Test of 'position()' function with wildcard. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of position() function in predicate on wildcard. Look
for last item. -->
<xsl:template match="doc">
<out>
1.2 +5 -4 xml-xalan/test/tests/conf/position/position03.xsl
Index: position03.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position03.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position03.xsl 2000/12/15 22:37:33 1.1
+++ position03.xsl 2000/12/29 20:01:18 1.2
@@ -1,16 +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: POS03 -->
+ <!-- FileName: position03 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
- <!-- Purpose: Test of 'position()' function anded with attribute test. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of position() function anded with attribute test. -->
<xsl:template match="doc">
<out>
<xsl:value-of select="[EMAIL PROTECTED] and position()=8]"/>
</out>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +6 -5 xml-xalan/test/tests/conf/position/position04.xsl
Index: position04.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position04.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position04.xsl 2000/12/15 22:37:33 1.1
+++ position04.xsl 2000/12/29 20:01:18 1.2
@@ -1,16 +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: POS04 -->
+ <!-- FileName: position04 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
- <!-- Purpose: Test of 'position()' in 2nd predicate. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of position() in 2nd predicate. -->
<xsl:template match="doc">
<out>
<xsl:value-of select="[EMAIL PROTECTED]()=4]/num"/>
</out>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +6 -5 xml-xalan/test/tests/conf/position/position05.xsl
Index: position05.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position05.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position05.xsl 2000/12/15 22:37:33 1.1
+++ position05.xsl 2000/12/29 20:01:18 1.2
@@ -1,11 +1,12 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS05 -->
+ <!-- FileName: position05 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
- <!-- Purpose: Test of 'position()' when used with xsl:key. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of position() predicate on node-set from key(). Look
for item 4. -->
<xsl:key name="k" match="a" use="@test"/>
<xsl:key name="k2" match="a" use="num"/>
@@ -15,5 +16,5 @@
<xsl:value-of select="key('k','true')[position()=4]/num"/>
</out>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +5 -4 xml-xalan/test/tests/conf/position/position06.xsl
Index: position06.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position06.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position06.xsl 2000/12/15 22:37:33 1.1
+++ position06.xsl 2000/12/29 20:01:18 1.2
@@ -1,11 +1,12 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS06 -->
+ <!-- FileName: position06 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
- <!-- Purpose: Test of 'count()'. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of count() on wildcard. -->
<xsl:template match="doc">
<out>
1.2 +5 -4 xml-xalan/test/tests/conf/position/position07.xsl
Index: position07.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position07.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position07.xsl 2000/12/15 22:37:33 1.1
+++ position07.xsl 2000/12/29 20:01:18 1.2
@@ -1,11 +1,12 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS07 -->
+ <!-- FileName: position07 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
- <!-- Purpose: Test of 'last()'. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of last() in predicate, all spelled out. -->
<xsl:key name="k" match="a" use="@test"/>
1.2 +8 -6 xml-xalan/test/tests/conf/position/position08.xsl
Index: position08.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position08.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position08.xsl 2000/12/15 22:37:33 1.1
+++ position08.xsl 2000/12/29 20:01:18 1.2
@@ -1,18 +1,20 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS08 -->
+ <!-- FileName: position08 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
- <!-- Purpose: Test of 'position()' function. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of position() in match pattern. Used in predicate of
name.
+ Look for 1, last, others. -->
<xsl:template match="doc">
<out>
<xsl:apply-templates/>
</out>
</xsl:template>
-
+
<xsl:template match="a[position()=4]">
<xsl:value-of select="."/>
</xsl:template>
@@ -28,5 +30,5 @@
<xsl:template match="a[position()=1]">
<xsl:value-of select="."/><xsl:text>,</xsl:text>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +7 -6 xml-xalan/test/tests/conf/position/position09.xsl
Index: position09.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position09.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position09.xsl 2000/12/15 22:37:33 1.1
+++ position09.xsl 2000/12/29 20:01:19 1.2
@@ -1,18 +1,19 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS09 -->
+ <!-- FileName: position09 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.1 Node Set Functions -->
- <!-- Purpose: Test of position in predicates, both long and short
versions. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of position in match pattern predicates, both long and
short versions. -->
<xsl:template match="doc">
<out>
<xsl:apply-templates/>
</out>
</xsl:template>
-
+
<xsl:template match="foo[3]/a[position()=3]/num/@val">
<xsl:value-of select="."/><xsl:text>,</xsl:text>
</xsl:template>
@@ -20,7 +21,7 @@
<xsl:template match="foo[3]/a[position()=2]/num/@val">
<xsl:value-of select="."/><xsl:text>,</xsl:text>
</xsl:template>
-
+
<xsl:template match="foo[3]/a[position()=1]/num/@val">
<xsl:value-of select="."/><xsl:text>,</xsl:text>
</xsl:template>
@@ -48,7 +49,7 @@
<xsl:template match="foo[1]/a[position()=1]/num/@val">
<xsl:value-of select="."/><xsl:text>,</xsl:text>
</xsl:template>
-
+
<xsl:template match="a/num">
<xsl:apply-templates select="@val"/>
</xsl:template>
1.2 +4 -3 xml-xalan/test/tests/conf/position/position10.xsl
Index: position10.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position10.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position10.xsl 2000/12/15 22:37:34 1.1
+++ position10.xsl 2000/12/29 20:01:19 1.2
@@ -1,10 +1,11 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS10 -->
+ <!-- FileName: position10 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test of position() function and sorting. -->
<xsl:template match="doc">
@@ -21,5 +22,5 @@
</xsl:for-each>
</out>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +5 -4 xml-xalan/test/tests/conf/position/position11.xsl
Index: position11.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position11.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position11.xsl 2000/12/15 22:37:34 1.1
+++ position11.xsl 2000/12/29 20:01:19 1.2
@@ -1,11 +1,12 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS11 -->
+ <!-- FileName: position11 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
- <!-- Purpose: Test of position() and last() functions. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of position() and last() in xsl:if test. -->
<xsl:template match="letters">
<out>
@@ -19,5 +20,5 @@
<xsl:text>, </xsl:text>
</xsl:if>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +4 -3 xml-xalan/test/tests/conf/position/position12.xsl
Index: position12.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position12.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position12.xsl 2000/12/15 22:37:34 1.1
+++ position12.xsl 2000/12/29 20:01:19 1.2
@@ -1,11 +1,12 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS12 -->
+ <!-- FileName: position12 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
- <!-- Purpose: Test of position() function. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of position() function in value-of select. -->
<xsl:template match="doc">
<out>
1.2 +5 -4 xml-xalan/test/tests/conf/position/position13.xsl
Index: position13.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position13.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position13.xsl 2000/12/15 22:37:34 1.1
+++ position13.xsl 2000/12/29 20:01:19 1.2
@@ -1,11 +1,12 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS13 -->
+ <!-- FileName: position13 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
- <!-- Purpose: Test of 'last()' function. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of last() function in value-of select. -->
<xsl:template match="doc">
<out>
1.2 +4 -3 xml-xalan/test/tests/conf/position/position14.xsl
Index: position14.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position14.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position14.xsl 2000/12/15 22:37:34 1.1
+++ position14.xsl 2000/12/29 20:01:20 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS14 -->
+ <!-- FileName: position14 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
- <!-- Purpose: Test of 'last()' function. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of last() function in a numeric equality. -->
<xsl:template match="doc">
<out>
1.2 +4 -3 xml-xalan/test/tests/conf/position/position15.xsl
Index: position15.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position15.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position15.xsl 2000/12/15 22:37:34 1.1
+++ position15.xsl 2000/12/29 20:01:21 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS15 -->
+ <!-- FileName: position15 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
- <!-- Purpose: Test of 'position()' function. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of position() function in predicate. Look for last
item. -->
<xsl:template match="doc">
<out>
1.2 +4 -3 xml-xalan/test/tests/conf/position/position16.xsl
Index: position16.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position16.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position16.xsl 2000/12/15 22:37:34 1.1
+++ position16.xsl 2000/12/29 20:01:21 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS16 -->
+ <!-- FileName: position16 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
- <!-- Purpose: Test of 'position()' function. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of position() function in a predicate. Look for item 3.
-->
<xsl:template match="doc">
<out>
1.2 +4 -3 xml-xalan/test/tests/conf/position/position17.xsl
Index: position17.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position17.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position17.xsl 2000/12/15 22:37:34 1.1
+++ position17.xsl 2000/12/29 20:01:21 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS17 -->
+ <!-- FileName: position17 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
- <!-- Purpose: Test of 'position()' function. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of position() function in a predicate. Look for first.
-->
<xsl:template match="doc">
<out>
1.2 +3 -2 xml-xalan/test/tests/conf/position/position18.xsl
Index: position18.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position18.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position18.xsl 2000/12/15 22:37:34 1.1
+++ position18.xsl 2000/12/29 20:01:21 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS18 -->
+ <!-- FileName: position18 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
- <!-- Purpose: Test of position() function and a varaible. -->
+ <!-- Creator: David Marston -->
+ <!-- Purpose: Test of position() function and a variable in a predicate.
-->
<xsl:variable name="first" select="1"/>
1.2 +3 -2 xml-xalan/test/tests/conf/position/position19.xsl
Index: position19.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position19.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position19.xsl 2000/12/15 22:37:34 1.1
+++ position19.xsl 2000/12/29 20:01:21 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS19 -->
+ <!-- FileName: position19 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
- <!-- Purpose: Test of positional indexing (shorthand) in select. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of positional indexing (shorthand) in select. Look for
last item. -->
<xsl:template match="doc">
<out>
1.2 +4 -3 xml-xalan/test/tests/conf/position/position20.xsl
Index: position20.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position20.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position20.xsl 2000/12/15 22:37:34 1.1
+++ position20.xsl 2000/12/29 20:01:22 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS20 -->
+ <!-- FileName: position20 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
- <!-- Purpose: Test of positional indexing. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of shorthand positional indexing. Look for middle item.
-->
<xsl:template match="doc">
<out>
1.2 +4 -3 xml-xalan/test/tests/conf/position/position21.xsl
Index: position21.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position21.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position21.xsl 2000/12/15 22:37:34 1.1
+++ position21.xsl 2000/12/29 20:01:22 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS21 -->
+ <!-- FileName: position21 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
- <!-- Purpose: Test of positional indexing. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of shorthand positional indexing. Look for first. -->
<xsl:template match="doc">
<out>
1.2 +3 -2 xml-xalan/test/tests/conf/position/position22.xsl
Index: position22.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position22.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position22.xsl 2000/12/15 22:37:34 1.1
+++ position22.xsl 2000/12/29 20:01:22 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS22 -->
+ <!-- FileName: position22 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
- <!-- Purpose: Test of positional indexing on the text() nodes. -->
+ <!-- Creator: David Marston -->
+ <!-- Purpose: Test of positional indexing on the text() nodes. Look for
first. -->
<xsl:template match="doc">
<out>
1.2 +3 -2 xml-xalan/test/tests/conf/position/position23.xsl
Index: position23.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position23.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position23.xsl 2000/12/15 22:37:34 1.1
+++ position23.xsl 2000/12/29 20:01:22 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS23 -->
+ <!-- FileName: position23 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
- <!-- Purpose: Test of positional indexing on the text() nodes. -->
+ <!-- Creator: David Marston -->
+ <!-- Purpose: Test of positional indexing on the text() nodes. Look for
middle item. -->
<xsl:template match="doc">
<out>
1.2 +4 -3 xml-xalan/test/tests/conf/position/position24.xsl
Index: position24.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position24.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position24.xsl 2000/12/15 22:37:34 1.1
+++ position24.xsl 2000/12/29 20:01:22 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS24 -->
+ <!-- FileName: position24 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
- <!-- Purpose: Test of 'last()' function with current context position. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of last() function with current context position. -->
<xsl:template match="doc">
<out>
1.2 +4 -3 xml-xalan/test/tests/conf/position/position25.xsl
Index: position25.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position25.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position25.xsl 2000/12/15 22:37:34 1.1
+++ position25.xsl 2000/12/29 20:01:23 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS25 -->
+ <!-- FileName: position25 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
- <!-- Purpose: Test of 'position()' function with wildcard. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of position() function in predicate of wildcard. Look
for middle item. -->
<xsl:template match="doc">
<out>
1.2 +4 -3 xml-xalan/test/tests/conf/position/position26.xsl
Index: position26.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position26.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position26.xsl 2000/12/15 22:37:34 1.1
+++ position26.xsl 2000/12/29 20:01:23 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS26 -->
+ <!-- FileName: position26 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
- <!-- Purpose: Test of 'position()' function with wildcard. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of position() function on predicate of wildcard. Look
for first. -->
<xsl:template match="doc">
<out>
1.2 +4 -3 xml-xalan/test/tests/conf/position/position27.xsl
Index: position27.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position27.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position27.xsl 2000/12/15 22:37:34 1.1
+++ position27.xsl 2000/12/29 20:01:23 1.2
@@ -1,10 +1,11 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS27 -->
+ <!-- FileName: position27 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of positional capabilities with choose. -->
<xsl:template match="letters">
@@ -29,5 +30,5 @@
</xsl:otherwise>
</xsl:choose>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +4 -3 xml-xalan/test/tests/conf/position/position28.xsl
Index: position28.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position28.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position28.xsl 2000/12/15 22:37:34 1.1
+++ position28.xsl 2000/12/29 20:01:23 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS28 -->
+ <!-- FileName: position28 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
- <!-- Purpose: Test of positional indexing with wildcard. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of shorthand positional indexing with wildcard. Look
for last item. -->
<xsl:template match="doc">
<out>
1.2 +4 -3 xml-xalan/test/tests/conf/position/position29.xsl
Index: position29.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position29.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position29.xsl 2000/12/15 22:37:34 1.1
+++ position29.xsl 2000/12/29 20:01:24 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS29 -->
+ <!-- FileName: position29 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
- <!-- Purpose: Test of positional indexing with wildcard. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of positional indexing with wildcard. Look for middle
item. -->
<xsl:template match="doc">
<out>
1.2 +4 -3 xml-xalan/test/tests/conf/position/position30.xsl
Index: position30.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position30.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position30.xsl 2000/12/15 22:37:34 1.1
+++ position30.xsl 2000/12/29 20:01:24 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS30 -->
+ <!-- FileName: position30 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
- <!-- Purpose: Test of positional indexing with wildcard. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of shorthand positional indexing with wildcard. Look
for first. -->
<xsl:template match="doc">
<out>
1.2 +4 -3 xml-xalan/test/tests/conf/position/position31.xsl
Index: position31.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position31.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position31.xsl 2000/12/15 22:37:34 1.1
+++ position31.xsl 2000/12/29 20:01:24 1.2
@@ -1,10 +1,11 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS31 -->
+ <!-- FileName: position31 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of position() with a sibling axis. -->
<xsl:template match="items">
@@ -32,5 +33,5 @@
</xsl:otherwise>
</xsl:choose>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +4 -3 xml-xalan/test/tests/conf/position/position32.xsl
Index: position32.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position32.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position32.xsl 2000/12/15 22:37:34 1.1
+++ position32.xsl 2000/12/29 20:01:24 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS32 -->
+ <!-- FileName: position32 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
- <!-- Purpose: Test of 'position()' function with wildcard and attribute
test. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of position() on predicate of wildcard, anded with
attribute test. -->
<xsl:template match="doc">
<out>
1.2 +4 -3 xml-xalan/test/tests/conf/position/position33.xsl
Index: position33.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position33.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position33.xsl 2000/12/15 22:37:34 1.1
+++ position33.xsl 2000/12/29 20:01:24 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS33 -->
+ <!-- FileName: position33 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
- <!-- Purpose: Test of 'position()' function with wildcard and attribute
test. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of position() on predicate of wildcard, anded with
attribute test. Look for first. -->
<xsl:template match="doc">
<out>
1.2 +4 -3 xml-xalan/test/tests/conf/position/position34.xsl
Index: position34.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position34.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position34.xsl 2000/12/15 22:37:34 1.1
+++ position34.xsl 2000/12/29 20:01:25 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS34 -->
+ <!-- FileName: position34 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
- <!-- Purpose: Test of 'position()' function with wildcard and attribute
test. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of position() on predicate of wildcard, anded with
attribute test. -->
<xsl:template match="doc">
<out>
1.2 +4 -3 xml-xalan/test/tests/conf/position/position35.xsl
Index: position35.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position35.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position35.xsl 2000/12/15 22:37:34 1.1
+++ position35.xsl 2000/12/29 20:01:25 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS35 -->
+ <!-- FileName: position35 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
- <!-- Purpose: Test of 'position()' in 2nd predicate. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of position() in 2nd predicate. -->
<xsl:template match="doc">
<out>
1.2 +4 -3 xml-xalan/test/tests/conf/position/position36.xsl
Index: position36.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position36.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position36.xsl 2000/12/15 22:37:34 1.1
+++ position36.xsl 2000/12/29 20:01:25 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS36 -->
+ <!-- FileName: position36 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
- <!-- Purpose: Test of 'position()' in 2nd predicate. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of position() in 2nd predicate. Look for first. -->
<xsl:template match="doc">
<out>
1.2 +2 -1 xml-xalan/test/tests/conf/position/position37.xsl
Index: position37.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position37.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position37.xsl 2000/12/15 22:37:34 1.1
+++ position37.xsl 2000/12/29 20:01:25 1.2
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS37 -->
+ <!-- FileName: position37 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of position() in a for-each node set. -->
<xsl:template match="doc">
1.2 +3 -2 xml-xalan/test/tests/conf/position/position38.xsl
Index: position38.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position38.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position38.xsl 2000/12/15 22:37:34 1.1
+++ position38.xsl 2000/12/29 20:01:25 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS38 -->
+ <!-- FileName: position38 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
- <!-- Purpose: Test of positional indexing (shorthand) in 2nd predicate. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of positional indexing (shorthand) in 2nd predicate.
Look for last item. -->
<xsl:template match="doc">
<out>
1.2 +4 -3 xml-xalan/test/tests/conf/position/position39.xsl
Index: position39.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position39.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position39.xsl 2000/12/15 22:37:34 1.1
+++ position39.xsl 2000/12/29 20:01:25 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS39 -->
+ <!-- FileName: position39 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
- <!-- Purpose: Test of positional indexing in 2nd predicate. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of shorthand positional indexing in 2nd predicate. -->
<xsl:template match="doc">
<out>
1.2 +4 -3 xml-xalan/test/tests/conf/position/position40.xsl
Index: position40.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position40.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position40.xsl 2000/12/15 22:37:34 1.1
+++ position40.xsl 2000/12/29 20:01:26 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS40 -->
+ <!-- FileName: position40 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
- <!-- Purpose: Test of positional indexing in 2nd predicate. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of positional indexing in 2nd predicate. Look for
first. -->
<xsl:template match="doc">
<out>
1.2 +2 -1 xml-xalan/test/tests/conf/position/position41.xsl
Index: position41.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position41.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position41.xsl 2000/12/15 22:37:34 1.1
+++ position41.xsl 2000/12/29 20:01:26 1.2
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS41 -->
+ <!-- FileName: position41 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of position() in a for-each node set involving parent
axis. -->
<xsl:template match="doc">
1.2 +4 -4 xml-xalan/test/tests/conf/position/position42.xsl
Index: position42.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position42.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position42.xsl 2000/12/15 22:37:34 1.1
+++ position42.xsl 2000/12/29 20:01:26 1.2
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS42 -->
+ <!-- FileName: position42 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
- <!-- Purpose: Test of 'position()' when used with xsl:key. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of position() on node-set from key(). -->
<xsl:key name="k" match="a" use="@test"/>
-<xsl:key name="k2" match="a" use="num"/>
<xsl:template match="doc">
<out>
1.2 +4 -4 xml-xalan/test/tests/conf/position/position43.xsl
Index: position43.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position43.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position43.xsl 2000/12/15 22:37:34 1.1
+++ position43.xsl 2000/12/29 20:01:26 1.2
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS43 -->
+ <!-- FileName: position43 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
- <!-- Purpose: Test of 'position()' when used with xsl:key. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of position() on node-set from key(). Look for first.
-->
<xsl:key name="k" match="a" use="@test"/>
-<xsl:key name="k2" match="a" use="num"/>
<xsl:template match="doc">
<out>
1.2 +4 -4 xml-xalan/test/tests/conf/position/position44.xsl
Index: position44.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position44.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position44.xsl 2000/12/15 22:37:34 1.1
+++ position44.xsl 2000/12/29 20:01:26 1.2
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS44 -->
+ <!-- FileName: position44 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
- <!-- Purpose: Test of 'position()' when used with xsl:key. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of position() on node-set from key(). Look for first.
-->
<xsl:key name="k" match="a" use="@test"/>
-<xsl:key name="k2" match="a" use="num"/>
<xsl:template match="doc">
<out>
1.2 +4 -4 xml-xalan/test/tests/conf/position/position45.xsl
Index: position45.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position45.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position45.xsl 2000/12/15 22:37:34 1.1
+++ position45.xsl 2000/12/29 20:01:27 1.2
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS45 -->
+ <!-- FileName: position45 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
- <!-- Purpose: Test of positional indexing when used with xsl:key. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of shorthand positional indexing on node-set from
key(). -->
<xsl:key name="k" match="a" use="@test"/>
-<xsl:key name="k2" match="a" use="num"/>
<xsl:template match="doc">
<out>
1.2 +4 -4 xml-xalan/test/tests/conf/position/position46.xsl
Index: position46.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position46.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position46.xsl 2000/12/15 22:37:34 1.1
+++ position46.xsl 2000/12/29 20:01:27 1.2
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS46 -->
+ <!-- FileName: position46 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
- <!-- Purpose: Test of positional indexing when used with xsl:key. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of shorthand positional indexing on node-set from
key(). -->
<xsl:key name="k" match="a" use="@test"/>
-<xsl:key name="k2" match="a" use="num"/>
<xsl:template match="doc">
<out>
1.2 +4 -4 xml-xalan/test/tests/conf/position/position47.xsl
Index: position47.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position47.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position47.xsl 2000/12/15 22:37:34 1.1
+++ position47.xsl 2000/12/29 20:01:27 1.2
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS47 -->
+ <!-- FileName: position47 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
- <!-- Purpose: Test of positional indexing when used with xsl:key. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of shorthand positional indexing on node-set from
key(). Look for first. -->
<xsl:key name="k" match="a" use="@test"/>
-<xsl:key name="k2" match="a" use="num"/>
<xsl:template match="doc">
<out>
1.2 +2 -1 xml-xalan/test/tests/conf/position/position48.xsl
Index: position48.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position48.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position48.xsl 2000/12/15 22:37:34 1.1
+++ position48.xsl 2000/12/29 20:01:27 1.2
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS48 -->
+ <!-- FileName: position48 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 10 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test position predicate on sort key. -->
<xsl:template match="doc">
1.2 +4 -4 xml-xalan/test/tests/conf/position/position49.xsl
Index: position49.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position49.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position49.xsl 2000/12/15 22:37:34 1.1
+++ position49.xsl 2000/12/29 20:01:27 1.2
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS49 -->
+ <!-- FileName: position49 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
- <!-- Purpose: Test of positional indexing when used with xsl:key and
xsl:apply-templates. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of positional indexing when used with key() in
xsl:apply-templates. Look for last. -->
<xsl:key name="k" match="a" use="@test"/>
-<xsl:key name="k2" match="a" use="num"/>
<xsl:template match="doc">
<out>
1.2 +4 -4 xml-xalan/test/tests/conf/position/position50.xsl
Index: position50.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position50.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position50.xsl 2000/12/15 22:37:34 1.1
+++ position50.xsl 2000/12/29 20:01:27 1.2
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS50 -->
+ <!-- FileName: position50 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
- <!-- Purpose: Test of 'position()' when used with xsl:key and
xsl:apply-templates. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of position() when used with key() in
xsl:apply-templates. -->
<xsl:key name="k" match="a" use="@test"/>
-<xsl:key name="k2" match="a" use="num"/>
<xsl:template match="doc">
<out>
1.2 +4 -4 xml-xalan/test/tests/conf/position/position51.xsl
Index: position51.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position51.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position51.xsl 2000/12/15 22:37:34 1.1
+++ position51.xsl 2000/12/29 20:01:28 1.2
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS51 -->
+ <!-- FileName: position51 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
- <!-- Purpose: Test of 'position()' when used with xsl:key and
xsl:apply-templates. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of position() when used with key() in
xsl:apply-templates. Look for first. -->
<xsl:key name="k" match="a" use="@test"/>
-<xsl:key name="k2" match="a" use="num"/>
<xsl:template match="doc">
<out>
1.2 +2 -1 xml-xalan/test/tests/conf/position/position52.xsl
Index: position52.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position52.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position52.xsl 2000/12/15 22:37:34 1.1
+++ position52.xsl 2000/12/29 20:01:28 1.2
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS52 -->
+ <!-- FileName: position52 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of count() on a set filtered by position. -->
<xsl:template match="doc">
1.2 +2 -1 xml-xalan/test/tests/conf/position/position53.xsl
Index: position53.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position53.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position53.xsl 2000/12/15 22:37:34 1.1
+++ position53.xsl 2000/12/29 20:01:28 1.2
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS53 -->
+ <!-- FileName: position53 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test of count() with attribute wildcard. -->
<xsl:template match="doc">
1.2 +2 -1 xml-xalan/test/tests/conf/position/position54.xsl
Index: position54.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position54.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position54.xsl 2000/12/15 22:37:34 1.1
+++ position54.xsl 2000/12/29 20:01:28 1.2
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS54 -->
+ <!-- FileName: position54 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test of count() of wildcarded attribute axis, long-form
notation. -->
<xsl:template match="doc">
1.2 +4 -3 xml-xalan/test/tests/conf/position/position55.xsl
Index: position55.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position55.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position55.xsl 2000/12/15 22:37:34 1.1
+++ position55.xsl 2000/12/29 20:01:28 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS55 -->
+ <!-- FileName: position55 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
- <!-- Purpose: Test of 'last()'. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of last() by itself in a predicate. -->
<xsl:template match="doc">
<out>
1.2 +4 -4 xml-xalan/test/tests/conf/position/position56.xsl
Index: position56.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position56.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position56.xsl 2000/12/15 22:37:34 1.1
+++ position56.xsl 2000/12/29 20:01:28 1.2
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS56 -->
+ <!-- FileName: position56 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
- <!-- Purpose: Test of 'last()' with keys. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of last() with node-set from key(). Long-form
predicate. -->
<xsl:key name="k" match="a" use="@test"/>
-<xsl:key name="k2" match="a" use="num"/>
<xsl:template match="doc">
<out>
1.2 +4 -4 xml-xalan/test/tests/conf/position/position57.xsl
Index: position57.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position57.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position57.xsl 2000/12/15 22:37:34 1.1
+++ position57.xsl 2000/12/29 20:01:29 1.2
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS57 -->
+ <!-- FileName: position57 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
- <!-- Purpose: Test of 'last()'. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of last() in predicate of node-set from key(). -->
<xsl:key name="k" match="a" use="@test"/>
-<xsl:key name="k2" match="a" use="num"/>
<xsl:template match="doc">
<out>
1.2 +4 -3 xml-xalan/test/tests/conf/position/position58.xsl
Index: position58.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position58.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position58.xsl 2000/12/15 22:37:35 1.1
+++ position58.xsl 2000/12/29 20:01:29 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS58 -->
+ <!-- FileName: position58 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
- <!-- Purpose: Test of 'last()'. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of last() in second predicate, in long form. -->
<xsl:template match="doc">
<out>
1.2 +4 -3 xml-xalan/test/tests/conf/position/position59.xsl
Index: position59.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position59.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position59.xsl 2000/12/15 22:37:35 1.1
+++ position59.xsl 2000/12/29 20:01:29 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS59 -->
+ <!-- FileName: position59 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
- <!-- Purpose: Test of 'last()'. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of last() in second predicate. -->
<xsl:template match="doc">
<out>
1.2 +3 -2 xml-xalan/test/tests/conf/position/position60.xsl
Index: position60.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position60.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position60.xsl 2000/12/15 22:37:35 1.1
+++ position60.xsl 2000/12/29 20:01:29 1.2
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS60 -->
+ <!-- FileName: position60 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test of greater-than with position(). -->
<xsl:template match="doc">
1.2 +3 -2 xml-xalan/test/tests/conf/position/position61.xsl
Index: position61.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position61.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position61.xsl 2000/12/15 22:37:35 1.1
+++ position61.xsl 2000/12/29 20:01:29 1.2
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS61 -->
+ <!-- FileName: position61 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of less-than with position(). -->
<xsl:template match="doc">
1.2 +3 -2 xml-xalan/test/tests/conf/position/position62.xsl
Index: position62.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position62.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position62.xsl 2000/12/15 22:37:35 1.1
+++ position62.xsl 2000/12/29 20:01:29 1.2
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS62 -->
+ <!-- FileName: position62 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of greater-than-or-equal-to with position(). -->
<xsl:template match="doc">
1.2 +3 -2 xml-xalan/test/tests/conf/position/position63.xsl
Index: position63.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position63.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position63.xsl 2000/12/15 22:37:35 1.1
+++ position63.xsl 2000/12/29 20:01:30 1.2
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS63 -->
+ <!-- FileName: position63 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of less-than-or-equal-to with position(). -->
<xsl:template match="doc">
1.2 +3 -2 xml-xalan/test/tests/conf/position/position64.xsl
Index: position64.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position64.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position64.xsl 2000/12/15 22:37:35 1.1
+++ position64.xsl 2000/12/29 20:01:30 1.2
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS64 -->
+ <!-- FileName: position64 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of not-equal-to with position(). -->
<xsl:template match="doc">
1.2 +3 -2 xml-xalan/test/tests/conf/position/position65.xsl
Index: position65.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position65.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position65.xsl 2000/12/15 22:37:35 1.1
+++ position65.xsl 2000/12/29 20:01:30 1.2
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS65 -->
+ <!-- FileName: position65 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of a numeric formula in positional indexing. -->
<xsl:template match="doc">
1.2 +3 -2 xml-xalan/test/tests/conf/position/position66.xsl
Index: position66.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position66.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position66.xsl 2000/12/15 22:37:35 1.1
+++ position66.xsl 2000/12/29 20:01:30 1.2
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS66 -->
+ <!-- FileName: position66 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of zero in positional indexing. -->
<xsl:template match="doc">
1.2 +2 -1 xml-xalan/test/tests/conf/position/position67.xsl
Index: position67.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position67.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position67.xsl 2000/12/15 22:37:35 1.1
+++ position67.xsl 2000/12/29 20:01:30 1.2
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS67 -->
+ <!-- FileName: position67 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of number function to make positional indexing
definite. -->
<xsl:template match="doc">
1.2 +3 -2 xml-xalan/test/tests/conf/position/position68.xsl
Index: position68.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position68.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position68.xsl 2000/12/15 22:37:35 1.1
+++ position68.xsl 2000/12/29 20:01:30 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: pos68 -->
+ <!-- FileName: position68 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
- <!-- Purpose: Test positional indexing with predicated nodesets. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test positional indexing with for-each loop and all-but-last
xsl:if for comma. -->
<xsl:template match="metadata">
<out>
1.2 +3 -2 xml-xalan/test/tests/conf/position/position69.xsl
Index: position69.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position69.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position69.xsl 2000/12/15 22:37:35 1.1
+++ position69.xsl 2000/12/29 20:01:30 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: pos69 -->
+ <!-- FileName: position69 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
- <!-- Purpose: Test positional indexing with predicated nodesets. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test positional indexing with for-each loop and
apply-templates. -->
<xsl:template match="metadata">
<out>
1.2 +3 -2 xml-xalan/test/tests/conf/position/position70.xsl
Index: position70.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position70.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position70.xsl 2000/12/15 22:37:36 1.1
+++ position70.xsl 2000/12/29 20:01:31 1.2
@@ -1,10 +1,11 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS70 -->
+ <!-- FileName: position70 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 5.4 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test that set of nodes changes when strip-space is in
effect. -->
<!-- "The xsl:apply-templates instruction processes all children of the
current node,
including text nodes. However, text nodes that have been stripped as
specified
1.2 +5 -4 xml-xalan/test/tests/conf/position/position71.xsl
Index: position71.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position71.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position71.xsl 2000/12/15 22:37:36 1.1
+++ position71.xsl 2000/12/29 20:01:31 1.2
@@ -1,10 +1,11 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS71 -->
+ <!-- FileName: position71 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test that position test can be applied to PI nodes. -->
<xsl:template match="/">
@@ -12,9 +13,9 @@
<xsl:apply-templates select="./processing-instruction()[2]"/>
</out>
</xsl:template>
-
+
<xsl:template match="processing-instruction()">
<xsl:text>Found PI: </xsl:text><xsl:value-of select="name()"/>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +2 -1 xml-xalan/test/tests/conf/position/position72.xsl
Index: position72.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position72.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position72.xsl 2000/12/15 22:37:36 1.1
+++ position72.xsl 2000/12/29 20:01:31 1.2
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS72 -->
+ <!-- FileName: position72 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of position() and the ancestor-or-self axis. -->
<xsl:template match="doc">
1.2 +2 -1 xml-xalan/test/tests/conf/position/position73.xsl
Index: position73.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position73.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position73.xsl 2000/12/15 22:37:36 1.1
+++ position73.xsl 2000/12/29 20:01:31 1.2
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS73 -->
+ <!-- FileName: position73 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of position() and for-each resetting the frame of
reference of a node-set. -->
<xsl:template match="doc">
1.2 +4 -2 xml-xalan/test/tests/conf/position/position74.xsl
Index: position74.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position74.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position74.xsl 2000/12/15 22:37:36 1.1
+++ position74.xsl 2000/12/29 20:01:31 1.2
@@ -1,11 +1,13 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS74 -->
+ <!-- FileName: position74 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 2.4 -->
- <!-- Purpose: Test of position() and for-each resetting the frame of
reference of a node-set. -->
+ <!-- Creator: David Marston -->
+ <!-- Purpose: Test of position() and for-each resetting the frame of
reference of a node-set.
+ Show position via value-of before going into for-each loop. -->
<xsl:template match="doc">
<out>
1.2 +2 -1 xml-xalan/test/tests/conf/position/position75.xsl
Index: position75.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position75.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position75.xsl 2000/12/15 22:37:36 1.1
+++ position75.xsl 2000/12/29 20:01:31 1.2
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS75 -->
+ <!-- FileName: position75 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of last() on various sets of children. -->
<xsl:template match="doc">
1.2 +3 -2 xml-xalan/test/tests/conf/position/position76.xsl
Index: position76.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position76.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position76.xsl 2000/12/15 22:37:36 1.1
+++ position76.xsl 2000/12/29 20:01:32 1.2
@@ -1,10 +1,11 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!-- FileName: POS76 -->
+ <!-- FileName: position76 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of position() with namespace axis. -->
<!-- The XML parser has freedom to present namespaces in any order it
wants.
Nevertheless, the position() function should work on this axis, not
raise an error.
1.2 +5 -4 xml-xalan/test/tests/conf/position/position01.xsl
Index: position01.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/position01.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- position01.xsl 2000/12/15 22:37:33 1.1
+++ position01.xsl 2000/12/29 20:01:32 1.2
@@ -1,16 +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: POS01 -->
+ <!-- FileName: position01 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.1 -->
- <!-- Purpose: Test of 'position()' function in direct select. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of position() function in value-of select. Look for 1.
-->
<xsl:template match="doc">
<out>
<xsl:value-of select="position()=1"/>
</out>
</xsl:template>
-
+
</xsl:stylesheet>