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

RE: XML Overlays and Deltas: Existing methods? Ideas?

  • From: "Bullard, Claude L (Len)" <clbullar@i...>
  • To: Danny Ayers <danny@p...>, Joel Bender <jjb5@c...>,xml-dev@l...
  • Date: Thu, 19 Apr 2001 08:40:52 -0500

RE: XML Overlays and Deltas: Existing methods?  Ideas?
Yes, I thought about the SAX approach too.  When in doubt, 
write your own handler and trap the XML types.  As James 
pointed out though, there is still the issue of entity 
expansion but I would think one would plan for the 
identity issues in the updates.  I haven't thought 
the whole operation model through.  SAX would appear 
to be faster but I am wary of untested assumptions 
like that (see the binary discussions).

What I was considering in his problem was if a new 
XML language for the updates is necessary or whether 
he could adapt XSLT for that.  I should think he would 
have to cobble together an engine anyway.   We've talked 
about this stuff before locally and the problems of 
ensuring a transform exists for all documents (eg, 
don't break because of structural differences) were a 
limit.  That is why the degenerate case of replacing 
the whole document had to be considered.

Len 
http://www.mp3.com/LenBullard

Ekam sat.h, Vipraah bahudhaa vadanti.
Daamyata. Datta. Dayadhvam.h


-----Original Message-----
From: Danny Ayers [mailto:danny@p...]
Sent: Thursday, April 19, 2001 7:52 AM
To: Joel Bender; Bullard, Claude L (Len); xml-dev@l...
Subject: RE: XML Overlays and Deltas: Existing methods? Ideas?


I would have thought the big issue was whether or not the (whole) data needs
to be in serial form at all - if not then all you need to communicate is the
particular leaf and its new value, which should map easily enough from one
DOM tree to another. If the data does need to be serialized, it's a
different ballgame - XSLT would sound the best solution, though it might be
worth considering using SAX (+ handler) to echo the XML through but trap any
elements of a particular form/value  (like a crude kind of XSLT). I'm
thinking this approach could mean the system wouldn't be as smart as XSLT,
so could perhaps be faster. Just a thought.

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.