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

Re: Tree v. Table - A relational XML object model...?


relational xml
At 11:12 AM 2/27/2003 +1100, Matthew.Bennett@f... wrote:
>I recognized in CS 101 that a binary tree is just a table, skewed 45
>degrees, a non-binary tree a sparse table, skewed 45 degrees. They are
>abstractions of the *same* concept! Hence, it ought to be just as valid to
>speak of XML tables, as XML trees.
>
>Perhaps  a matrix-algebra mathematician can get around to having an
>epiphany, and come up with the ..... "relational XML object model".
>
>Possible, or pie-in-the-sky?

Nested Relational Algebra allows hierarchy, and comes close to XML in many 
ways, but XML is ordered, which is quite significant. There's a significant 
literature on Nested Relational Algebra.

There are various Algebras for XML that have been proposed for query 
processing, and there is also a Formal Semantics used to formally define 
XQuery, an XML query language.

But anything that really supports XML well winds up being significantly 
different from relational algebra in some ways. After all, unordered two 
dimensional tables in which the rows have no inherent identity are rather 
different from ordered, labelled forests with implicit node identity and 
the ability to establish references among the nodes. XML expresses most 
things via hierarchy and sequence, which are both absent from the original 
relational model.

Of course, mapping relations to XML is much more straightforward, and is 
even covered by standards.

Jonathan 


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.