xsl-list
[Top] [All Lists]

RE: how to delete an attribute after using it as a test

2002-11-17 10:53:34
I tried that but it copied all attributes.  The following seems to be
working for me.

<xsl:copy-of select="@*[not(name()='hidden' or name()='label')]"/>

Thanks
Noel


-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com]On Behalf Of Oleg
Tkachenko
Sent: Sunday, November 17, 2002 12:36 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] how to delete an attribute after using it as a test


Noel Golding wrote:

******************************************
******************************************
**   HERE I WOULD LIKE TO COPY ALL
**   ATTRIBUTES EXCEPT @hidden and @label
******************************************
******************************************
-->

<xsl:copy-of select="@*[not(self::hidden or self::label)]"/>
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list