Hi Vyacheslav,
Thank you for the improvement.
Mark
--------------------------------------------------
From: "Vyacheslav Sedov" <vyacheslav(_dot_)sedov(_at_)gmail(_dot_)com>
Sent: Monday, November 09, 2009 6:03 AM
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Subject: Re: [xsl] Filtering out a specific attribute
"Heading/(@* except @id)" much better ;)
2009/11/9 Martin Honnen <Martin(_dot_)Honnen(_at_)gmx(_dot_)de>:
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/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--