Title: xml element append or something
Go have a look at my blog http://www.spike.org.uk/blog/index.cfm
 
I posted an entry about this a week or so ago.
 
Spike
 
--------------------------------------------
Stephen Milligan
Code poet for hire
http://www.spike.org.uk

Do you cfeclipse? http://cfeclipse.tigris.org

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Taco Fleur
Sent: Tuesday, June 22, 2004 8:02 PM
To: CFAussie Mailing List
Subject: [cfaussie] xml element append or something

Can't seem to figure the following out.

<cfxml variable="test1">
<logsummary xmlns="http://tempuri.org/logsummary.xsd">
    <error uuid="">
        <diagnostic occured="" firstoccurance="" lastoccurance="" fixedon=""></diagnostic>
        <comment></comment>
        <fix>
                <location></location>
        </fix>
    </error>
</logsummary>
</cfxml>

<cfxml variable="test2">
<logsummary xmlns="http://tempuri.org/logsummary.xsd">
    <error uuid="">
        <diagnostic occured="" firstoccurance="" lastoccurance="" fixedon=""></diagnostic>
        <comment></comment>
        <fix>
                <location></location>
        </fix>
    </error>
</logsummary>
</cfxml>

**************
I want to do something like
structInsert(test2.logsummary, "error", test1.logsummary.error);

Or
structAppend(test2.logsummary, test1.logsummary.error);

So I would end up with

<logsummary xmlns="http://tempuri.org/logsummary.xsd">
    <error uuid="">
        <diagnostic occured="" firstoccurance="" lastoccurance="" fixedon=""></diagnostic>
        <comment></comment>
        <fix>
                <location></location>
        </fix>
    </error>
    <error uuid="">
        <diagnostic occured="" firstoccurance="" lastoccurance="" fixedon=""></diagnostic>
        <comment></comment>
        <fix>
                <location></location>
        </fix>
    </error>
</logsummary>

is this possible?

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
Register now for the 3rd National Conference on Tourism Futures, being held in Townsville, North Queensland 4-7 August - www.tq.com.au/tfconf
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to