[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: match all attributes except @foo
<xsl:apply-templates select="node() | @*[!(name() = 'foo')]" /> ...or something like that -Jeff ----- Original Message ----- From: "Mark Lundquist" <ml@xxxxxxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Thursday, April 08, 2004 4:51 PM Subject: match all attributes except @foo > > 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
|
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
|