Title: 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



Reply via email to