[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qexo-general] insert / update
From: |
Per Bothner |
Subject: |
Re: [Qexo-general] insert / update |
Date: |
Mon, 17 Mar 2003 09:32:32 -0800 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312 |
Jean-Baptiste EVAIN wrote:
Hi,
I'm wondering on the best way to update / insert an element
> into another with Qexo, I hope you'll help me to find the answer
Well, XQuery doesn't provide any way to modify a document in place,
so you have to generate a new document, replacing some parts.
http://www.gnu.org/software/qexo/XQ-Gen-XML.html may be helpful.
Note the use of the write-to extension function.
In Qexo you could in theory modify an internal document/node
object (a TreeList instance), but there is no API for that.
--
--Per Bothner
address@hidden http://www.bothner.com/per/