Techniques for rewriting XML queries directed to relational database constructs
Abstract
Techniques for executing database commands include receiving a database command that includes an XML component operation that operates on an XML construct that is based on a first set of one or more relational database constructs. It is determined whether the XML component operation can be transformed to a relational database operation on a particular set of one or more relational database constructs of the first set, which does not involve the XML component operation. If it is determined that the XML component operation can be transformed, then the XML component operation is rewritten as a particular relational database operation that operates on the particular set and that does not involve the XML component operation. The particular relational database operation is evaluated. In another aspect, techniques include determining a primitive set of XML generation operations and replacing non-primitive XML generation operations with one or more operations from the primitive set.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 38 · Forward citations: 67.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for executing database commands that involve operations on extensible markup language (XML) constructs, comprising the computer-implemented steps of: receiving a database command that includes an XML component operation that operates on an XML construct that is based on a first set of one or more relational database constructs; wherein the XML component operation is a function that operates on a component identified by an XPath expression; determining whether the XML component operation can be transformed to a relational database operation on a particular set of one or more relational
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 67 total)
References Cited — Backward Prior Art (38)
Non-Patent Literature (5)
- Dayen, I., "Storing XML in Relational Databases", XML.com XP-002275971(1998-2004) pp. 1-13.
- Funderbunk, J. et al., "XML programming with SQL/XML and XQuery", IBM Systems Journal XP-002295973 (2002) pp. 642-665.
- Hierarchical Queries, XP-002295972, pp. 8-3 to 8-7.
- Jean-Yes Vio-Dury, Xpath on left and right sides of rules: toward compact XML tree rewriting through node patterns, 2003, ACM Press, pp. 19-25.
- Jim Melton, "ISO-ANSI Working Draft, XML-Related Specifications (SQL/XML)," WG3: DRS-020, H2-2002-365, Aug. 2002, 154 pages.