[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Re: Partial update of server side XML documents

  • From: Farrukh Najmi <farrukh@w...>
  • To: Jonathan Robie <jonathan.robie@r...>
  • Date: Fri, 26 Sep 2008 14:14:20 -0400

Re: Re:  Partial update of server side XML documents
Hi Jonathan,

I considered it but decided our requirements were simpler.

I am settling on a solution that is similar in design to the WSRT 
specification (W3 Submission):


See section 3.4 on PUT operation on how fragments may be used in partial 
insert, update and delete operations.

This spec looks very promising but is not yet a REC. Also I wish they 
used type substitution to remove mixed=true types
which seem like a questionable design choice.

Thanks all for your helpful suggestions.

Jonathan Robie wrote:
> Is XQuery Updates an option for you?
> http://www.w3.org/TR/xqupdate/
> I think it gives you the functionality you need.
> Jonathan
> Farrukh Najmi wrote:
>> I am working on a specification for a service that offers CRUD 
>> operations on XML documents that conform to a standard schema.
>> We have C, R and D under control and are looking for an good 
>> standards-based solution for supporting partial updates for XML
>> documents already in the server.
>> I would like to define the schema for an UpdateRequest which 
>> identifies a server resident XML document by its unique id and provides
>> an XML element (lets call it UpdateInfo) that encapsulates how the 
>> server resident object should be updated. The content of the UpdateInfo
>> element should specify how to partially update the desired XML 
>> document while leaving the rest of it unchanged.
>> I am unfamiliar with XQuery but I suspect that it may be allow me to 
>> embed an XQuery statement within the UpdateInfo element to specify 
>> how to partially update the target XML document. The server would 
>> fetch the XML document by its id and then process it using the XQuery 
>> to modify it before storing it back.
>> Another option might be to use simpler XPath/XSLT expressions to do 
>> the same.
>> Does any one have any experience or advice on how best to do this.
>> BTW, the specification I am working on is OASIS ebXML RegRep 4.0.
>> TIA for your help.


Web: http://www.wellfleetsoftware.com

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.