Title: Message
I reckon its possible with the Microsoft.XMLDOM object and the appendChild method but what about CFs support for this?
 
 
Taco Fleur

Tell me and I will forget
Show me and I will remember
Teach me and I will learn
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Taco Fleur
Sent: Sunday, 18 April 2004 8:27 PM
To: CFAussie Mailing List
Subject: [cfaussie] XML structInsert or something...

When it comes to XML and CF I am still a bit wet behind the ears, and I was wondering if it is possible to add a complete xml structure of elements to an existing xml structure?
 
Example;
 
<root1>
<test><test2></test2></test>
</root1>
 
<root2>
<test><test2 attribute="something"></test2></test>
</root2>
 
And then something like <cfset structInsert(root1.test, "newElement", root2.test)>
and end up with something like
 
 
<root1>
<test>
<newElement><test><test2 attribute="something"></></test2></test></newElement>
<test2></test2></test>
</root1>
 
Dreaming or possible?
 
Taco Fleur

Tell me and I will forget
Show me and I will remember
Teach me and I will learn
 
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to