/ libxml2 / test / XPath / tests / simpleabbr
simpleabbr
 1  /EXAMPLE
 2  /EXAMPLE/head
 3  /EXAMPLE/chapter[1]
 4  //p
 5  //chapter/image
 6  //p/text()
 7  //p/text()[position()=1]
 8  //p/text()[position()=last()]
 9  (//p/text())[position()=1]
10  (//p/text())[position()=last()]