if I have this structure
Code:
<A>
<B></B>
<B>
<C>
<D></D>
<E>
<F></F>
</E>
</C>
</B>
<B></B>
</A>
Can i get this structure
Code:
<A>
<B>
<C>
<E>
<F></F>
</E>
</C>
</B>
</A>
when given the element F as the starting point? That is get a direct path back to the root? The names of the elements are different every time, we just get given the starting location.