xsl-list
[Top] [All Lists]

Re: copy-of select all attributes except one

2002-11-14 09:22:30
<xsl:copy-of select=(_at_)* [not(name()='art']"/>

Ritu

----- Original Message ----- 
From: "Braumuller, Hans" <H(_dot_)Braumueller(_at_)hanseorga(_dot_)de>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Thursday, November 14, 2002 9:52 AM
Subject: [xsl] 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[(_at_)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(_dot_)braumueller(_at_)hanseorga(_dot_)de 
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



<Prev in Thread] Current Thread [Next in Thread>