Merge two xml documents
Posted on 2001-08-02
I have two xml documents stored as OracleXMLDocGenString objects doc1 & doc2, each of them generated through the qry.getXML() method. Now i want to merge the two documents into a third OracleXMLDocGenString Object doc.
I tried the method docAppend in OracleXMLDocGenString
but this appends a null to my document doc instead of the xml.
The doc1.getXMLDocumentString() & doc2.getXMLDocumentString() returns the whole 347 records i have in my xml document and so i am sure the objects doc1 and doc2 are properly created.
Can anyone tell me how i can merge the two documents into one.