[xsl] match all attributes except @foo

Subject: [xsl] match all attributes except @foo
From: Mark Lundquist <ml@xxxxxxxxxxxxxx>
Date: Thu, 8 Apr 2004 16:51:04 -0700
I'm sure I will say 'doh!' when I see the answer to this one :-), but...

I currently have this inside an <xsl:copy>:

<xsl:apply-templates select="node() | @*" />

The second branch of that union selects all attributes. I want to change it so that it matches all attributes except for the attribute 'foo'.

IOW, my <xsl:copy> should filter out @foo. How do I do it?

Thanks a lot,
mark

Current Thread