mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-23 01:52:48 +03:00
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
20 lines
367 B
Plaintext
20 lines
367 B
Plaintext
|
|
========================
|
|
Expression: xpointer(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: xpointer(id('chapter1')/p[1]/range-to(following-sibling::p[2]))
|
|
Object is a Location Set:
|
|
1 : Object is a range :
|
|
From node
|
|
ELEMENT p
|
|
To node
|
|
ELEMENT p
|
|
|