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

Re: Question for updating existing XML file


in place updating

On Jul 26, 2004, at 7:40 PM, Owen Walcher wrote:

I am just saying, regardless of the schema of the XML (an industry standard
interchange or internal structures) why not leave it in XML? Why always
some other storage mechanism that either disassembles the XML or makes
querying, updating and deleting in place nearly impossible?

This is somewhat of a perma-thread on this list. XML is inherently hierarchical, so a "pure" XML database will probably be hierarchical, too.

At one time hierarchical and relational databases were competing technologies, but overall the relational model, and relational databases, won out. The relational model is now more developed and generally accepted to be superior to the hierarchical model for most uses. (Please correct me if I'm wrong or oversimplifying here.)

So the best way to frame your question is "Does a hierarchical model or a relational model best solve my business problem?" If the answer is hierarchical, it probably makes sense to always store your documents as XML and query/update/insert in-place. If the answer is relational, it may make more sense to store your data relationally and only consume/create XML at the system's boundaries.

-jimbo

Fantastic - Excelsior! 2 - Excelsior! Path
XML Tools for Mac OS X
http://www.homepage.mac.com/jimbokun

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.