Hello,
Say I have the following tree:
<a> <b> <c> <d/> </c> </b> <e> <f> <g/> </f> </e> </a>
If I'm calling this into the stylesheet via document():
- How do I get the names of all elements on the same "vertical slice" that <b> and <e> are on?
- or the names of all the elements on the same "vertical slice" as <c> and <f> ?
- or the names of all the elements on the same "vertical slice" as <d> and <g>?
Note: the names of the elements aren't static so I can't just specify a static path to anything.
Any ideas? TIA