Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: xpath to sql translation

From: terryperkins@--------------.--- (----- -)
To: NULL
Date: 12/1/2004 6:45:00 PM
Tjerk,
Thanks for the response.  
In particular, I expect to be using a DB2 database with XML Extenders
(IBM).  I may need this on different platforms - Linux, ISeries,
Win2000.

A Java/SQL solution may be best.  I am hoping for something like a
Java class that can parse the XPath and create the Where clause of a
SQL query.  Special SQL functions might be used to emulate the
standard XPath functions.

XPath has been around for a while, so I am surprised that I have not
been able to find "off the shelf" tools to do this.

Terry


Tjerk Wolterink <tjerk@w...> wrote in message news:<41adc5e4$0$30715$18b6e80@n...>...
> Terry P wrote:
> > Are there any tools (java classes, tag libraries) which can translate
> > xpath statements into a SQL query?
...> 
> > Terry
> 
> What sory of database are you talking about?
> A ordinary relational database? Or an XML-database.
> Xml-databases are new and not very fast, but there is extensive research in xml-database-system.
> Those system support xpath and xquery as query languages.
> 
> I'f you want to map xpath onto sql, then your're right: you need some
> rules about how xml is mapped onto the relational database.
> With those rules you could map xpath expression to sql expressions.
> 
> I don't know wether they exists. I myself have my own mapping rules,
> rather simplistic rules but it does the job for me.


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent