Selecting all the children accept those with particula
Hi, In one of the templates in my stylesheet I need to match all the children of the current node except those with @att equal to value1 or value2. I have tried this so many different ways and I just can't seem to get it right.... Can I even do this in a single select or do I need to call a pre-prepared set? My current failed attempt looks like this: <xsl:template match="parent"> [......] <xsl:for-each select="child::*/[@att != 'value1' | @fy != 'value2']"> [......] </xsl:template> I started off more like this: <xsl:template match="parent"> [......] <xsl:for-each select="child::*[@att!=('value1'|'value2')]"> [......] </xsl:template> Thanks heaps Jo -- Jo Bourne Virtual Artists Pty Ltd XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
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