[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Refs to elements and attributes in XML



On Wed, 17 May 2000, Phillip Rhodes wrote:
> >%_Silly question here.  Trying to understand this thing.
> Is it possible for an xml document to have multiple nodes in the doc structure that all point to the same instance of an object?
> Would it be possible to store a relational database as an xml structure in ozone?  For example, a xml doc that would be 3GB in size that would store customers, orders, order line items, shipments, etc,
> Is anyone doing this kind of stuff? 
> Thanks so much.
> Phillip

If your already have a relational model of your data, why then storing them in
XML? If the model contains entities like customers, orders, then a relational
database is probably well suited to handle them. Searching via XPath is
probably slower than SQL. And, SQL gives at least a type system - which is not
fully compatible to Java but better than pure XML which doesn't have types.

If you need the XML view on your data to just be able to easily publish the
data, then Prowler (see other posting) is for you.


Falko
-- 
______________________________________________________________________
Falko Braeutigam                         mailto:falko@softwarebuero.de
softwarebuero m&b (SMB)                    http://www.softwarebuero.de