Xml and Object Database

Michael Kay M.H.Kay at eng.icl.co.uk
Thu Dec 3 18:28:19 GMT 1998

-----Original Message-----
From: Prashanth K. Salur <xmldoubts at hotmail.com>
>While creating an Object database for an XML file, is it advisable to
>store just the root node of the XML file or store each node of the XML
>file seperately.

Depends what you want to achieve! The obvious way to store an XML document
in an object database is to take a typical DOM implementation (e.g.
Docuverse's) and make each object persistent. However, that level of
granularity may be overkill. The opposite extreme is to store the XML
document as a string in a single persistent object. If you are clever, you
can hide your implementation choice, providing the same interface in both

Mike Kay

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)

More information about the Xml-dev mailing list