[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:19:54 -0800
Re:  Filtering out a specific attribute
Hi Vyacheslav,
Thank you for the improvement.
Mark

--------------------------------------------------
From: "Vyacheslav Sedov" <vyacheslav.sedov@xxxxxxxxx>
Sent: Monday, November 09, 2009 6:03 AM
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re:  Filtering out a specific attribute

"Heading/(@* except @id)" much better ;)


2009/11/9 Martin Honnen <Martin.Honnen@xxxxxx>:
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
http://msmvps.com/blogs/martin_honnen/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.