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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: XPath -> SQL

[ Lists Home | Date Index | Thread Index ]
  • From: disco <disco@thirdnipple.com>
  • To: Matthew Gertner <matthew@praxis.cz>
  • Date: Thu, 2 Mar 2000 13:36:33 -0500 (EST)


There has been significant research in this area, and to my knowledge, no
*really good* solutions to the problem of "how to squash XML into tables"
have been found yet. Various people and companies with their own pet
projects have come up with adequate methods, but as far as I have seen,
most have had some issues.

For example, one system I looked at had a fairly clever way of associating
semistructured XML data, through either definite or inferred DTDs, to
tables, but had the problem of needing potentially infinite layers of
"overflow relations" in the case of deep nesting.

An example of something I've seen that does seem to work is the X2X
linking tool which was announced here recently, which deals with XLinks
using relational databases, but that doesn't handle the general case of
any old XML -- XLinks just happen to fit well :)

However, once (or if) somebody comes up with a really slick way of
squashing XML data into relational tables, there should be an easy mapping
between XPath expressions on the XML data and SQL (or relational algebra)
expressions on the tables...


On Wed, 1 Mar 2000, Matthew Gertner wrote:

> I noticed in the list archives that there was some discussion last year
> about converting XPath expressions to SQL queries. Specifically, my interest
> would be to take a relational schema that has been generated from an XML
> schema of some flavor, and map XPath expressions based on the XML schema
> into SQL queries based on the corresponding (i.e. generated) RDBMS schema.
> Does anyone know of any work that has been done or is being done in this
> area?
> Thanks in advance for any pointers,
> Matthew

This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/threads.html

  • References:


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

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