OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

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

Re: [xml-dev] Updating XML

> > > I was wondering if there was such a thing as an 'XML Update
> > > That is, a standard way of describing a set of modifications to an XML
> > > document, possibly as an XML document itself.
> >
> > You should take a look at http://www.xmldb.org/xupdate . XUpdate
> > defines a set of XML tags for updating XML documents. XUpdate is used
> > in several OpenSource projects: dbXML, ozone, 4Suite (?), XMLdiff ...

XPath is terse, XUpdate is not. I'm wondering, may there
is any terse alternative to XUpdate? To write those update
queries by hand... To me it looks funny that one can use
100% pure terse XPath to write a readable query for
'select', but one should  write a verbose XML-ish
spell to make 'update'.

I don't understansd why XML should be soo different
from SQL in this aspect.


PS. With CPath and Chunks http://www.pault.com/pault/pxml/nxml.html
one can read with /get/some/#value and put with /put/it/#value = 'value'.

Something similiar could be done with XPath subset.
I'm wondering, maybe somebody already did that.