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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] XML-enabled databases, XQuery APIs

[ Lists Home | Date Index | Thread Index ]

David Lyon wrote:
> On Fri, 15 Apr 2005 12:15 pm, Bullard, Claude L (Len) wrote:
>>I don't understand this nearly well enough.   In a
>>relational database, what are the characteristics
>>of an "XML type"?
> Don't you mean "XML Document Type"? If so that is the
> equivilent to the <?DOCTYPE Invoice> tag.


> Except that when you store the document in the database
> you rip out the doctype, and store it in one of the header
> fields.
> So that you can query saying something like:
>  select 
>   *
>  from 
>  trader_documents 
>  where 
>  (document_type="Invoice")
> Makes it more convenient and organised that way.

Or using a filesystem (XSL 1.0):

   select="document(concat($path-to, $identifier))"/>

Is the problem that filesystems are not good enough yet? (I don't have a 
problem with win or linux, but I am not huge)

Do people really feel a file based system is more difficult to manage 
(what with versioning - CVS/SVN, and checkout.., stage versions for 
dev/qa/cert/live.., wherever/whatever) than a relational database hacked 
to accomodate (roundtrip) XML?



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

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