summaryrefslogtreecommitdiff
path: root/result/XPath/tests/simpleabbr
diff options
context:
space:
mode:
authorMike Hommey <mh@glandium.org>2004-03-25 06:59:32 +0000
committerMike Hommey <mh@glandium.org>2004-03-25 06:59:32 +0000
commitd09ab089457ae3c20cc98f9afa03379c6ebf9598 (patch)
treef34702d634972abbc1b478a4529149b548a1cd4c /result/XPath/tests/simpleabbr
downloadlibxml2-upstream/2.6.8.tar.gz
[svn-inject] Installing original source versionupstream/2.6.8
Diffstat (limited to 'result/XPath/tests/simpleabbr')
-rw-r--r--result/XPath/tests/simpleabbr81
1 files changed, 81 insertions, 0 deletions
diff --git a/result/XPath/tests/simpleabbr b/result/XPath/tests/simpleabbr
new file mode 100644
index 0000000..85da41a
--- /dev/null
+++ b/result/XPath/tests/simpleabbr
@@ -0,0 +1,81 @@
+
+========================
+Expression: /EXAMPLE
+Object is a Node Set :
+Set contains 1 nodes:
+1 ELEMENT EXAMPLE
+ ATTRIBUTE prop1
+ TEXT
+ content=gnome is great
+ ATTRIBUTE prop2
+ TEXT
+ content=& linux too
+
+========================
+Expression: /EXAMPLE/head
+Object is a Node Set :
+Set contains 1 nodes:
+1 ELEMENT head
+
+========================
+Expression: /EXAMPLE/chapter[1]
+Object is a Node Set :
+Set contains 1 nodes:
+1 ELEMENT chapter
+
+========================
+Expression: //p
+Object is a Node Set :
+Set contains 2 nodes:
+1 ELEMENT p
+2 ELEMENT p
+
+========================
+Expression: //chapter/image
+Object is a Node Set :
+Set contains 1 nodes:
+1 ELEMENT image
+ ATTRIBUTE href
+ TEXT
+ content=linus.gif
+
+========================
+Expression: //p/text()
+Object is a Node Set :
+Set contains 2 nodes:
+1 TEXT
+ content=bla bla bla ...
+2 TEXT
+ content=...
+
+========================
+Expression: //p/text()[position()=1]
+Object is a Node Set :
+Set contains 2 nodes:
+1 TEXT
+ content=bla bla bla ...
+2 TEXT
+ content=...
+
+========================
+Expression: //p/text()[position()=last()]
+Object is a Node Set :
+Set contains 2 nodes:
+1 TEXT
+ content=bla bla bla ...
+2 TEXT
+ content=...
+
+========================
+Expression: (//p/text())[position()=1]
+Object is a Node Set :
+Set contains 1 nodes:
+1 TEXT
+ content=bla bla bla ...
+
+========================
+Expression: (//p/text())[position()=last()]
+Object is a Node Set :
+Set contains 1 nodes:
+1 TEXT
+ content=...