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

Subject: RE: [xsl] how to delete an attribute after using it as a test
From: "Noel Golding" <noel@xxxxxxxxxxxxxxx>
Date: Sun, 17 Nov 2002 12:53:34 -0500
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@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Oleg
Tkachenko
Sent: Sunday, November 17, 2002 12:36 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
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


Current Thread