diff options
-rw-r--r-- | result/XPath/tests/chaptersbase | 10 | ||||
-rw-r--r-- | test/XPath/tests/chaptersbase | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/result/XPath/tests/chaptersbase b/result/XPath/tests/chaptersbase index 03c65670..e023bf01 100644 --- a/result/XPath/tests/chaptersbase +++ b/result/XPath/tests/chaptersbase @@ -113,3 +113,13 @@ Set contains 5 nodes: ATTRIBUTE id TEXT content=chapter5 + +======================== +Expression: //p[1] +Object is a Node Set : +Set contains 5 nodes: +1 ELEMENT p +2 ELEMENT p +3 ELEMENT p +4 ELEMENT p +5 ELEMENT p diff --git a/test/XPath/tests/chaptersbase b/test/XPath/tests/chaptersbase index daa53b75..17638f73 100644 --- a/test/XPath/tests/chaptersbase +++ b/test/XPath/tests/chaptersbase @@ -7,3 +7,4 @@ /child::EXAMPLE/child::head/node() /descendant::title /descendant::p/ancestor::chapter +//p[1] |