Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Move child from one doc to another

Status
Not open for further replies.

ThomasOatman

Programmer
Nov 28, 2005
3
US
I am using Xerces API.
I want to parse multiple xml files and put them together into one DOM tree.
So I've done a parse on a file. The Parser object has its own DOMDocument object.
I create a DOMDocument and try to do an appendChild of one of the nodes just parsed but Xerces throws an exception that the document is not the same.

So, is there a way to change the parent document?
or a way to move a node from one document to another?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top