Forum Moderators: open
<xsl:variable select="//node[@id=$myval]" name="mynode"></xsl:variable>
As I iterate through some child nodes in another template, I want to know if the current node is an ancestor of $mynode.
it'll be some use of ancestor-or-self:: or decendent::
I've been hacking away at this Xpath for over an hour to find the right condition, but it's eluding me.
help!