Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Appending an DOMDocument (with all child nodes) under an XML Node

126199Feb 8 2006 — edited Mar 21 2007
In using PL/SQL XMLDOM package, I need to append the tree structure returned from a function to a newly created structure:
e.g.
New structure
<message_body></message_body>
Needs to have the following indeterminate (varying) structure under it - only the root node <DataSet1> is known:
<DataSet1><Caller>Fred Bloggs</Caller><Tel>0202 777 7777</Tel>
</DataSet1>

Which must give:
<message_body>
<DataSet1><Caller>Fred Bloggs</Caller>
<Tel>0202 777 7777</Tel>
</DataSet1>
</message_body>

Using the XMLDOM's appendchild function does not work.

Would appreciate any help on this.

Thanks,
Tansel
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 18 2007
Added on Feb 8 2006
5 comments
1,239 views