RE: building path expressions around dynamic element n
I have a for-loop that extracts all the node fragments where B/Class[.='Not Present']. What I then want to do is access all the dynamic element nodes such as '<Dynamic1>', '<Dynamic2>', etc. (which is the same as the <Class> text() of the <A> node). How can I do this?
You could do something like this for the loop:
<xsl:for-each select="....B/Class[. = 'Not... <xsl:value-of select="some property of Class... <xsl:value-of select="../parent::Dynamic </
There are 13 "axes" that let you access parents, siblings, attributes, etc. Search for XPath Axis.
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
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