Re: [xml-dev] XML Parsing using DOM parser

From
Ronald Bourret <>
To
Dare Obasanjo <>
Date
2002-01-04T07:36:30Z
ID
<>
Thread
Re: [xml-dev] XML Parsing using DOM parser
Dare Obasanjo wrote:
> 
> > The original question mentioned multiple catalog items in the same XML
> > document and the wish to update each of these items. Both XML and the
> > DOM are agnostic on whether this is a good, bad, or indifferent
> > practice.
> 
> Theoretically there is no reason for this to be a bad practice in the DOM,
> especially if it's a DOM implementation that supports XPath (which in fact
> then makes it a best practice) . However, we live in a world full of
> limitationa and memory issues put an upper bound on the size of documents one
> can manipulate in this manner and how quickly such manipulation can be done.

Another practical limitation is multi-user access. While some DOM
implementations (especially PDOMs) might allow this, my guess is that
most don't. If you are using an XML document as a database and your DOM
implementation only allows one user into the file at a time, you are
going to have real problems in a lot of real-world applications.

-- Ron