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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

add attribute to element in xquery

544504Jan 12 2007 — edited Jan 16 2007
I ran into a bottleneck...

I'm selecting a bunch of nodes, than I'm enumerating them and for each node retrieving attribute value from another element and that operation takes 80% of the time. Element gets selected using index, I don't think I can improve anything else here, but if during selection in xquery I add one new attribute to the element which is attribute of another element, I think it should improve the performance. I just couldn’t find a good way to do so.
I ran into bunch of problems trying to return custom XML from xquery. Is it possible to add a new attribute to the element in xquery?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 13 2007
Added on Jan 12 2007
5 comments
1,019 views