mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-10-27 13:25:05 +03:00
ff9c330753
- xpath.c xpointer.c: XPointer reorder of ranges start/end and string-range for empty strings - test/XPath/docs/str test/XPath/xptr/chaptersrange test/XPath/xptr/strrange: augmented the XPointer testsuite Daniel
5 lines
284 B
Plaintext
5 lines
284 B
Plaintext
xpointer(//chapter[position() = 2]/range-to(following::chapter[1]))
|
|
xpointer(//chapter[position() <= 2]/range-to(following::chapter[1]))
|
|
xpointer(//chapter[position() = last()]/range-to(following::chapter[1]))
|
|
xpointer(//chapter[position() = 3]/range-to(/.//chapter[position() = 1]))
|