This tutorial is obsolete. Please, use the
new one.
Description
For each location x in the argument location-set,
end-point adds a location of type point to the result location-set. That
point represents the end point of location x.
Elements
In case of element the container of the end-point
is the element itself and the index is the number of location
children of the element.
XPointer: xpointer(end-point(//AAA))
<AAA> <BBB bbb="111"> Text in the first element BBB.</BBB> <BBB bbb="222"> Text in another element BBB. <DDD ddd="999"> Text in more nested element.</DDD> </BBB> <CCC ccc="123" xxx="321"> Again some text in some element.</CCC>X </AAA>