ancestor

The ancestor axis selects all nodes that contain the context node, starting with its parent.

/descendant::BORN[position()=2]/ancestor::*[position() =1]


Previous | Next | Top | Cafe con Leche

Copyright 1999 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified October 10, 1999