Subject: Re: copy-of select all attributes except one
From: "Ritu" <rkama@xxxxxxxxxxx>
Date: Thu, 14 Nov 2002 10:22:30 -0600
|
<xsl:copy-of select=@* [not(name()='art']"/>
Ritu
----- Original Message -----
From: "Braumuller, Hans" <H.Braumueller@xxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, November 14, 2002 9:52 AM
Subject: copy-of select all attributes except one
> Hi,
>
> short problem,
>
> i want with one X-Path statement copy all attributes except one (@art).
>
> xml
> ...
> <table art="frame" id="tableFrame" class="tableFrame" rules="rows"
> frame="void" bordercolor="#8390BE"/>
> ...
>
> xsl (pseudo-code)
> ...
> <table>
> <xsl:copy-of
> select="$properties/root/body/tables/table[@art='frame']/@*[not(@art)]"/
> >
> ...
>
> Please excuse my FAQ
>
> Greetings from Hamburg, Germany
>
> Hans Braumuller
> Systementwickler Web-Design
> Hanse Orga AG
> Sportallee 41
> D-22335 Hamburg
> Telefon: (+49) 040 51 48 08-62
> Telefax: (+49) 040 51 48 08-88
> E-Mail: h.braumueller@xxxxxxxxxxxx
> http://www.hanseorga.com
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|