Selecting child elements bar one
Hi all, According to: http://www.dpawson.co.uk/xsl/sect2/N6191.html#d8248e349 this is supposed to work: <xsl:template match="/"> <xsl:apply-templates select="*[not(self::two)]" /> </xsl:template> i.e., given this XML input: <doc> <one>foo</one> <two>bar</two> <three>baz</three> </doc> element 'two' should be excluded. Well, I'm getting: foo bar baz and it's starting to drive me crazy. What's worse, is that I know the answer is going to be so damn obvious I'm going to feel incredibly stupid, more so than I do already. Aaaarrrggghhh, I think XSLT hates me! sdt
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