Re: How to select either ElementA -OR- ElementB in an
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]"/> As usual, thumping myself on the head once someone points out the obvious to me ;) Thanks again.
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format