mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-10-27 04:55:04 +03:00
c8df0aaf9f
Added XPointer: - configure.in Makefile.am include/makefile.am: adding XPointer and XPtrtests target - xpointer.[ch] : new files for XPointer support - test/XPath/xptr result/XPath/xptr: added XPointer testsuite and more XPath tests Daniel
43 lines
761 B
Plaintext
43 lines
761 B
Plaintext
|
|
========================
|
|
Expression: id('chapter1')
|
|
Object is a Node Set :
|
|
Set contains 1 nodes:
|
|
1 ELEMENT chapter
|
|
ATTRIBUTE id
|
|
TEXT
|
|
content=chapter1
|
|
|
|
========================
|
|
Expression: id('chapter3')
|
|
Object is a Node Set :
|
|
Set contains 1 nodes:
|
|
1 ELEMENT chapter
|
|
ATTRIBUTE id
|
|
TEXT
|
|
content=chapter3
|
|
|
|
========================
|
|
Expression: id('chapter1')/p
|
|
Object is a Node Set :
|
|
Set contains 4 nodes:
|
|
1 ELEMENT p
|
|
2 ELEMENT p
|
|
3 ELEMENT p
|
|
4 ELEMENT p
|
|
|
|
========================
|
|
Expression: id('chapter1')//p
|
|
Object is a Node Set :
|
|
Set contains 4 nodes:
|
|
1 ELEMENT p
|
|
2 ELEMENT p
|
|
3 ELEMENT p
|
|
4 ELEMENT p
|
|
|
|
========================
|
|
Expression: id('chapter1')/p[1]
|
|
Object is a Node Set :
|
|
Set contains 1 nodes:
|
|
1 ELEMENT p
|