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

Re: XML-enabled databases, XQuery APIs


Re:  XML-enabled databases
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.

hmmm..

> 
> 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):

<xsl:apply-templates
   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?

-Rob

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.