Hello, Can anyone tell me why I am getting an error when i am extracting a
node from one xml document and insert it into another the code is as follows

<cfset aryDetails =
xmlSearch(firstPageXml,"/shell/page[1]//[EMAIL PROTECTED]'#SECTION_NAME
#']") >
<cfset ArrayInsertAt( attributes.xmlDoc.XmlRoot.XmlChildren[1].XmlChildren,
1, aryDetails[1])>

If I do the same with the same xml document it doesnt error. I have been
trying to figure this out for a while now and its starting to drive me
crazy!!!

The error is as follows:-

WRONG_DOCUMENT_ERR: That node doesn't belong in this document.

Any help would be appreciated!



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