diff options
Diffstat (limited to 'test/XPath/xptr/chaptersrange')
-rw-r--r-- | test/XPath/xptr/chaptersrange | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/XPath/xptr/chaptersrange b/test/XPath/xptr/chaptersrange new file mode 100644 index 0000000..4d7a55b --- /dev/null +++ b/test/XPath/xptr/chaptersrange @@ -0,0 +1,4 @@ +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])) |