>I need to find all the <condition>s and perform some logic for every
>found node.
>But after storing all of them in a list, I need to know their xpath.
>How can I get the xpath of a searched Node?

This can be expensive. A general answer is given in the XSLT FAQ, as
I recall, but you should really identify exactly what you need to
know. Is it the depth in the tree? The name of the parent? Could
generate-id() address your needs?
.................David Marston


Reply via email to