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

RE: XML and the Relational Model (was Re: A standar

  • To: "Thomas B. Passin" <tpassin@c...>, <xml-dev@l...>, "pop3" <lbradshaw@d...>
  • Subject: RE: XML and the Relational Model (was Re: A standard approach to glueing together ...)
  • From: "Hunsberger, Peter" <Peter.Hunsberger@s...>
  • Date: Thu, 28 Aug 2003 12:37:37 -0500
  • Thread-index: AcNs+gJS5jvlxaEGSOefKxar42pSdwAkFrlQ
  • Thread-topic: XML and the Relational Model (was Re: A standard approach to glueing together ...)

join conditions xpath
Thomas B. Passin <tpassin@c...> asks:
> 
> [Hunsberger, Peter]
> 
> Thomas B. Passin <tpassin@c...> asks (among many other things):
> 
> > * Are there things in the XML world that are equivalent to 
> relational 
> > database views, and if so what are they and do they have any 
> > advantages? Will xquery change this picture? Would view equivalents 
> > make updates easier or harder?
> 
> I'd propose that an XPath statement in general can be 
> considered the XML equivalent to a view...
> 
> Well, that works at least to some extent, given that a view 
> is generally based on an SQL select statement, and a 
> "select='{xpath_expression_here}' is something like.  What 
> about xslt expressions that go beyond what you can cram into 
> a single  xpath expression?  What about a whole stylesheet?  
> If some stylesheet results could be considered equivalent to 
> a view, which ones cannot?

Well, in the SQL world there are clearly some data extractions that
cannot be obtained from a view.  To me, a transform seems more akin to a
stored procedure than a view?

> Let's see, a view can combine data atoms from different 
> tables, based on some join conditions.  Could an XML view 
> could combine infoset items from different documents, or just 
> from different elements within a single document?

An SQL view can join across multiple database instances in some
implementations.  But then again, XPath with the document function
works, so I see no need to generalize to XQuery (again you seem to be
picking up some stored procedure type capabilities).  However, this is
one set of analogies I'm not going to be very picky about.  I like
Xpath, and don't have experience with Xquery, so for the moment Xpath is
my golden hammer...



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.