Skip to Main Content

Berkeley DB Family

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!

adding attributes to a node

775682Jul 24 2011 — edited Jul 28 2011
Hi,

I would like to add attributes to a node with an xquery. I've found (not easily) that I can use the following query to add one attribute :

" insert node attribute id {"10"} into collection()/root/parent/child "

However I can't find a way to add more than one attribute. Is there a way to update an attribute if it exists, or add it if not ?

thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 23 2011
Added on Jul 24 2011
8 comments
6,046 views