generated from sethub/template
[libxml2]Add libxml2 library
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
|
||||
========================
|
||||
Expression: /1/2/3
|
||||
Object is a Node Set :
|
||||
Set contains 1 nodes:
|
||||
1 ELEMENT image
|
||||
ATTRIBUTE href
|
||||
TEXT
|
||||
content=linus.gif
|
||||
|
||||
========================
|
||||
Expression: element(/1/2/3)
|
||||
Object is a Node Set :
|
||||
Set contains 1 nodes:
|
||||
1 ELEMENT image
|
||||
ATTRIBUTE href
|
||||
TEXT
|
||||
content=linus.gif
|
||||
|
||||
========================
|
||||
Expression: element(foo)element(/1/2/3)
|
||||
Object is a Node Set :
|
||||
Set contains 1 nodes:
|
||||
1 ELEMENT image
|
||||
ATTRIBUTE href
|
||||
TEXT
|
||||
content=linus.gif
|
||||
|
||||
========================
|
||||
Expression: element(/1/2/3)element(foo)
|
||||
Object is a Node Set :
|
||||
Set contains 1 nodes:
|
||||
1 ELEMENT image
|
||||
ATTRIBUTE href
|
||||
TEXT
|
||||
content=linus.gif
|
||||
|
||||
========================
|
||||
Expression: chapter1/3
|
||||
Object is a Node Set :
|
||||
Set contains 0 nodes:
|
||||
|
||||
========================
|
||||
Expression: element(chapter1/3)
|
||||
Object is empty (NULL)
|
||||
|
||||
========================
|
||||
Expression: element(foo)element(chapter1/3)
|
||||
Object is empty (NULL)
|
||||
|
||||
========================
|
||||
Expression: element(chapter1/3)element(foo)
|
||||
Object is empty (NULL)
|
||||
@@ -0,0 +1,44 @@
|
||||
|
||||
========================
|
||||
Expression: xpath1(//chapitre[2])
|
||||
Object is empty (NULL)
|
||||
|
||||
========================
|
||||
Expression: xpath1(//chapter[2])
|
||||
Object is a Node Set :
|
||||
Set contains 1 nodes:
|
||||
1 ELEMENT chapter
|
||||
ATTRIBUTE id
|
||||
TEXT
|
||||
content=chapter2
|
||||
|
||||
========================
|
||||
Expression: xpath1(//chapitre[2])xpath1(//chapter[2])
|
||||
Object is a Node Set :
|
||||
Set contains 1 nodes:
|
||||
1 ELEMENT chapter
|
||||
ATTRIBUTE id
|
||||
TEXT
|
||||
content=chapter2
|
||||
|
||||
========================
|
||||
Expression: xpath1(id("chapter1"))
|
||||
Object is empty (NULL)
|
||||
|
||||
========================
|
||||
Expression: xpath1(//*[@id="chapter1"])
|
||||
Object is a Node Set :
|
||||
Set contains 1 nodes:
|
||||
1 ELEMENT chapter
|
||||
ATTRIBUTE id
|
||||
TEXT
|
||||
content=chapter1
|
||||
|
||||
========================
|
||||
Expression: xpath1(id("chapter1"))xpath1(//*[@id="chapter1"])
|
||||
Object is a Node Set :
|
||||
Set contains 1 nodes:
|
||||
1 ELEMENT chapter
|
||||
ATTRIBUTE id
|
||||
TEXT
|
||||
content=chapter1
|
||||
@@ -0,0 +1,7 @@
|
||||
|
||||
========================
|
||||
Expression: xmlns(b=abc://d/e:f) xpath1(/b:rootB)
|
||||
Object is a Node Set :
|
||||
Set contains 1 nodes:
|
||||
1 ELEMENT rootB
|
||||
default namespace href=abc://d/e:f
|
||||
@@ -0,0 +1,9 @@
|
||||
|
||||
========================
|
||||
Expression: xpath1(id('chapter1')/p)
|
||||
Object is a Node Set :
|
||||
Set contains 4 nodes:
|
||||
1 ELEMENT p
|
||||
2 ELEMENT p
|
||||
3 ELEMENT p
|
||||
4 ELEMENT p
|
||||
@@ -0,0 +1,36 @@
|
||||
|
||||
========================
|
||||
Expression: /1/2/3
|
||||
Object is a Node Set :
|
||||
Set contains 1 nodes:
|
||||
1 ELEMENT image
|
||||
ATTRIBUTE href
|
||||
TEXT
|
||||
content=linus.gif
|
||||
|
||||
========================
|
||||
Expression: element(/1/2/3)
|
||||
Object is a Node Set :
|
||||
Set contains 1 nodes:
|
||||
1 ELEMENT image
|
||||
ATTRIBUTE href
|
||||
TEXT
|
||||
content=linus.gif
|
||||
|
||||
========================
|
||||
Expression: chapter1/3
|
||||
Object is a Node Set :
|
||||
Set contains 1 nodes:
|
||||
1 ELEMENT image
|
||||
ATTRIBUTE href
|
||||
TEXT
|
||||
content=linus.gif
|
||||
|
||||
========================
|
||||
Expression: element(chapter1/3)
|
||||
Object is a Node Set :
|
||||
Set contains 1 nodes:
|
||||
1 ELEMENT image
|
||||
ATTRIBUTE href
|
||||
TEXT
|
||||
content=linus.gif
|
||||
@@ -0,0 +1,4 @@
|
||||
|
||||
========================
|
||||
Expression: xpath1(non-existing-fn())
|
||||
Object is empty (NULL)
|
||||
@@ -0,0 +1,27 @@
|
||||
|
||||
========================
|
||||
Expression: xpath1(id("chapter1"))
|
||||
Object is a Node Set :
|
||||
Set contains 1 nodes:
|
||||
1 ELEMENT chapter
|
||||
ATTRIBUTE id
|
||||
TEXT
|
||||
content=chapter1
|
||||
|
||||
========================
|
||||
Expression: xpath1(//*[@id="chapter1"])
|
||||
Object is a Node Set :
|
||||
Set contains 1 nodes:
|
||||
1 ELEMENT chapter
|
||||
ATTRIBUTE id
|
||||
TEXT
|
||||
content=chapter1
|
||||
|
||||
========================
|
||||
Expression: xpath1(id("chapter1"))xpath1(//*[@id="chapter1"])
|
||||
Object is a Node Set :
|
||||
Set contains 1 nodes:
|
||||
1 ELEMENT chapter
|
||||
ATTRIBUTE id
|
||||
TEXT
|
||||
content=chapter1
|
||||
Reference in New Issue
Block a user