XQuery: Inserting Nodes

Posted by CoolGravatar on Stack Overflow See other posts from Stack Overflow or by CoolGravatar
Published on 2010-05-24T23:15:24Z Indexed on 2010/05/24 23:21 UTC
Read the original article Hit count: 297

Filed under:

I'm reading in an XML file using XQuery and want to insert several nodes/elements and generate a new XML file. How can I accomplish this?

I've tried using the replace() function, but, it looks like all my XML tags are being stripped when I call doc() to load my document. So calling replace() isn't any good if my XML tags are being removed.

Any help? Are there other technologies I can use?

© Stack Overflow or respective owner

Related posts about xquery