OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Xml and Object Database

[ Lists Home | Date Index | Thread Index ]
  • From: "Michael Kay" <M.H.Kay@eng.icl.co.uk>
  • To: <xml-dev@ic.ac.uk>
  • Date: Thu, 3 Dec 1998 18:22:51 -0000


-----Original Message-----
From: Prashanth K. Salur <xmldoubts@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
cases.

Mike Kay


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





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS