Subject: Moving an attribute from a node to a child node
From: Kevin Tracey <kevitra@xxxxxxxxx>
Date: Wed, 2 Jul 2003 15:49:58 -0700 (PDT)
|
I am trying to move an attribute from one node to child node. This seems like an easy
task, but I've been having issues.
Here is a sample XML document:
<myXML>
<NodeA reason="because">
<NodeB> ..... </NodeB>
</NodeA>
</myXML>
I need to move the attribute 'reason' to NodeB.
<myXML>
<NodeA>
<NodeB reason="because"> ..... </NodeB>
</NodeA>
</myXML>
Thank you in advance!
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|