I am looking for this way - i will post XML data to eXist by XForms
(business logic layer) then i`ll perform conversion by XSLT to
something similar to introduced in MS SQL Server 2000 feature
"updategrams" (i call it as storage logic layer)
<States updg:id="1" Name="AK"/>
<States updg:id="2" Name="AR"/>
<States updg:id="1" Name="Alaska"/>
<States updg:id="2" Name="Arkansas"/>
</ROOT> (c) Microsoft from http://support.microsoft.com/kb/316018
but optimized for XML-databases (not SQL)
then i`ll feed this XML to some kind of "universal data changer"
module (preffered way) or convert it by XSLT to XQuery Update code
(same way like it was implemented by MS - but into SQL surely not
XQuery - but i think it is not so good) or combine this into case when
you produce XQuery function with parameters and store it once and use
many times with other values only or convert it into XProc.
to my mind this task look good to implement it
any suggestions? Some kind of XQueryX? Annotated XSD?
With best wishes,