[Home] [By Thread] [By Date] [Recent Entries]
Thanks everybody for the responses. This solution works for me, as by "first" I did mean the first one in the axis from the orginating node toward the document node... <xsl:value-of select="ancestor::*[self::ElementA|self::ElementB][1]"/> As usual, thumping myself on the head once someone points out the obvious to me ;) Thanks again.
|

Cart



