Skip to Main Content

DevOps, CI/CD and Automation

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!

Insertion of nodes using XQuery

NicePseronMahouFeb 17 2012 — edited Feb 18 2012
Hi everybody,
I am using XQuery Update Facility Language for updating XML documents,
For insertion of new nodes under existing ones, i use the primitive insert node into target+ but the XPath expression target+ must be evaluated to only single node; otherwise a dynamic error is raised.
My question is : in what purpose this condition is imposed ? and how can i insert new node under different nodes ?.

Thank you for advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 17 2012
Added on Feb 17 2012
4 comments
1,237 views