[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Filtering out a specific attribute

Subject: Re: Filtering out a specific attribute
From: "Mark Wilson" <mark@xxxxxxxxxxxx>
Date: Mon, 9 Nov 2009 06:06:30 -0800
Re:  Filtering out a specific attribute
Neat! I'm using XSLT 2.0.
Thanks Martin.

From: "Martin Honnen" <Martin.Honnen@xxxxxx>
Sent: Monday, November 09, 2009 5:53 AM
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re:  Filtering out a specific attribute

Mark Wilson wrote:

I know that <xsl:copy-of select="Heading/@*"/> copies all of the attributes. How do I copy all the attributes except a specific one, say: @id ?

With XSLT 2.0 you can literally write that <xsl:copy-of select="Heading/@* except Heading/@id"/>


Martin Honnen

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.