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

Re: XML database

  • From: tpassin@h...
  • To: xml-dev@l...
  • Date: Sun, 08 Oct 2000 20:01:13 -0400

obfuscating xml files
Huaxin Zhang asked about storing XML in a database.

> Perhaps this is an old question, but I still can't find answer anywhere:
>
> Suppose I have a hierarchy DOM structure, each node may have undefinite
> number of child nodes. How to save this may-be extremely large tree
> structured XML files into some kind of database rather than a large chunk
> in memory or flat file has been a problem for me for a long time.
>
> Would anybody help with me with this? I would prefer Relational DB, but
> seems I have to shift to OO-DB, which I know absolutely nothing about.
>
You will probably see several different kinds of responses because you have
not given us enough information.

- Do you need to store xml data that conforms to only one dtd, or many?
- Does the data you want to store look like a series of rows having the same
structure?
- Will there be ID/IDREF cross links?
- In another post, you mention querying the data.  Do you want to perform
any kind of query, just certain queries, or no queries?  Certain queries can
be done using xslt, some cannot or would be hard.
- How big will these documents be (roughly), and will there be a few or very
many?
- You mention DOM - are you thinking of storing the DOM structure, or an xml
document that you could get by serializing the DOM to an xml file?

There isn't any general answer as to how to store an xml document in a
database.  It can always be stored some way in an relational database, but
it may be cumbersome or give poor performance depending on the design of the
xml.  A lot depends too on the intended use.

Tom Passin


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.