XPointer Examples |
id(intro)/pall <p> child nodes of the element ID="intro"
//chapter[title="Introduction"]all the chapter elements having a child title of content "Introduction"
id(intro)/range{child(1),fsibling(2)}first through third children of ID=intro
/chapter[1]/p[2]/string(2, "W3C", 2)select the position of the '3' in the 2nd occurence of "W3C" in the second paragraph of the first chapter.
7 of 13 |