Using an XML query language to publish relational data as XML
First Claim
1. A method of publishing relational data as XML, comprising the method steps of:
- mapping a number of relational database tables to a number of virtual XML documents;
issuing XML queries over said virtual XML documents;
parsing said XML queries;
transforming said XML queries into a language-neutral intermediate representation;
rewriting said language-neutral intermediate representation into an equivalent form easily translated into an SQL query;
translating said equivalent form into an SQL query over said relational database tables and into tagging instructions passed to a tagger;
executing said SQL query to produce SQL query results passed to said tagger; and
generating XML output using said SQL query results and said tagging instructions.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for publishing relational data as XML by translating XML queries into queries against an relational database. Conversion of the relational database into an XML database is not required. Each relational table is mapped to a virtual XML document, and XML queries are issued over these virtual documents. An XML query is parsed and transformed into a language-neutral intermediate representation, which is a sequence of operations describing how the output document is derived from the underlying relational tables. The intermediate representation is then translated into an SQL query over the underlying relational tables and into instructions for a tagger. The SQL query is executed, and the SQL query results are then fed into the tagger, which follows tagger instructions to generate the marked up output.
109 Citations
44 Claims
-
1. A method of publishing relational data as XML, comprising the method steps of:
-
mapping a number of relational database tables to a number of virtual XML documents; issuing XML queries over said virtual XML documents; parsing said XML queries; transforming said XML queries into a language-neutral intermediate representation; rewriting said language-neutral intermediate representation into an equivalent form easily translated into an SQL query; translating said equivalent form into an SQL query over said relational database tables and into tagging instructions passed to a tagger; executing said SQL query to produce SQL query results passed to said tagger; and generating XML output using said SQL query results and said tagging instructions. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21)
-
-
22. A system for publishing relational data as XML, comprising:
-
a schema mapper for mapping a number of relational database tables to a number of virtual XML documents; an XML-QL engine for issuing XML queries over said virtual XML documents; a parser for parsing said XML queries and for transforming said XML queries into a language-neutral intermediate representation; a rewrite engine for rewriting said intermediate representation into an equivalent form easily translated into an SQL query; a translator for translating said equivalent form into an SQL query over said relational database tables and into tagging instructions; an RDBMS for executing said SQL query to produce SQL query results; and a tagger for generating XML output using said SQL query results and said tagging instructions. - View Dependent Claims (23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42)
-
-
43. A system for publishing relational data as XML, comprising:
-
means for mapping a number of relational database tables to a number of virtual XML documents; means for issuing XML queries over said virtual XML documents; means for parsing said XML queries and for transforming said XML queries into a language-neutral intermediate representation; means for rewriting said intermediate representation into an equivalent form easily translated into an SQL query; means for translating said equivalent form into an SQL query over said relational database tables and into tagging instructions; means for executing said SQL query to produce SQL query results; and means for generating XML output using said SQL query results and said tagging instructions.
-
-
44. A computer program product comprising a machine-readable medium including machine-executable instructions therein for publishing relational data as XML comprising the steps of:
-
mapping a number of relational database tables to a number of virtual XML documents; issuing XML queries over said virtual XML documents; parsing said XML queries; transforming said XML queries into a language-neutral intermediate representation; rewriting said language-neutral intermediate representation into an equivalent form easily translated into an SQL query; translating said equivalent form into an SQL query over said relational database tables and into tagging instructions passed to a tagger; executing said SQL query to produce SQL query results passed to said tagger; and generating XML output using said SQL query results and said tagging instructions.
-
Specification