[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Updating / replacing the content of a Container




On Thu, 26 Jul 2001 20:18:27 +0200
"Per Nyfelt" <per.nyfelt@nordicwave.com> wrote:

> Thanks for the hint Lars,
> 
> Do you have a simple usage example of XUpdate or a pointer to where i could
> find out more?

See the xupdateQuery() method in ozone/samples/XML/Client.java for
usage and the spec at http://www.xmldb.org/xupdate/xupdate-wd.html
for sample queries. Right now I'm not sure how the "update" element
handles a whole subtree of a Document (root element). Otherwise you
can use the "remove" and "append" elements - but this is somewhat
ugly...

On the other hand I don't understand why storeDOM() (your current
solution) should not allow you to set (overwrite) the content of a
whole and already exisiting document with just one method call?!?
 
--
______________________________________________________________________
Lars Martin                                    mailto:lars@smb-tec.com
SMB GmbH                                        http://www.smb-tec.com

----------------------------------------------------------------------
Post a message:         mailto:ozone-dev@ozone-db.org
Unsubscribe:            mailto:ozone-dev-request@ozone-db.org?body=unsubscribe
Contact adminstrator:   mailto:ozone-dev-owner@ozone-db.org
Read archived messages: http://www.ozone-db.org/
----------------------------------------------------------------------