Subject: Re: [xsl] Selecting child elements bar one|
From: Kamal Bhatt <kbhatt@xxxxxxxxx>
Date: Mon, 13 Feb 2006 10:39:32 +1100
Hi all,Works fine if you specify the tempate match as:
this is supposed to work:
<xsl:apply-templates select="*[not(self::two)]" />
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!