Subject: Copy attribute from a node to another
From: Niclas Wallander <niclas@xxxxxxxxxxxxxxx>
Date: Tue, 14 Dec 1999 15:34:42 +0100
|
Hi,
a little XSL problem.
A node in my XML looks like this:
<node align="right">some text</node>
And in my xsl i want to transform it to
<node align="right">some text
<subnode>
<format width="45" align="right"/>
</subnode>
</node>
All data in 'subnode' and 'format' are static except for 'align'
that comes from 'node'. So what I want is to copy the attribute from one
node to a node that are created in the same XSL.
Anyone who has a suggestion, or knows where I can find an
answer?
Thanks a lot
/Niclas
-------------------------------------------------------
Niclas Wallander Email: niclas@xxxxxxxxxxxxxxx
Mallverkstan AB Phone: +46 46 23 52 50
+46 46 23 52 58
Slöjdgatan 2 Fax: +46 46 23 52 51
SE-227 36 LUND, SWEDEN http://www.mallverkstan.se
-------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|