Method and apparatus for mapping between XML and relational representations
First Claim
Patent Images
1. An apparatus for converting data between a relational format and an XML document, the apparatus comprising:
- a relational application database containing relational data;
means for creating an XML Mapping Definition from metadata, whereinthe XML Mapping Definition comprises information relating relational data components to XML elements and relational data fields to XML elements or XML attributes, andsaid means for creating the XML Mapping Definition comprises means for collapsing one or more portions of an XML hierarchy comprising the XML elements and attributes to reduce the number of tables used in the relational application database;
means for selecting relational data from the relational application database;
means for converting the relational data to XML data using the XML Mapping Definition; and
means for storing the converted relational data in the XML document.
0 Assignments
0 Petitions
Accused Products
Abstract
A method to convert data between a relational format and an XML document, by creating a set of XML Mapping Definition from metadata; selecting relational data from a relational application database, and converting the relational data to the XML document using the set of XML Mapping Definition.
22 Citations
18 Claims
-
1. An apparatus for converting data between a relational format and an XML document, the apparatus comprising:
-
a relational application database containing relational data; means for creating an XML Mapping Definition from metadata, wherein the XML Mapping Definition comprises information relating relational data components to XML elements and relational data fields to XML elements or XML attributes, and said means for creating the XML Mapping Definition comprises means for collapsing one or more portions of an XML hierarchy comprising the XML elements and attributes to reduce the number of tables used in the relational application database; means for selecting relational data from the relational application database; means for converting the relational data to XML data using the XML Mapping Definition; and means for storing the converted relational data in the XML document. - View Dependent Claims (2, 3)
-
-
4. A computer-readable storage medium comprising:
-
a first set of instructions, executable by a processor, configured to create an XML Mapping Definition from metadata, wherein the XML Mapping Definition comprises information relating relational data components to XML elements and relational data fields to XML elements or XML attributes, and said first set of instructions further comprises a second set of instructions, executable by the processor, configured to collapse one or more portions of an XML hierarchy comprising the XML elements and attributes to reduce the number of tables used in a relational application database; a third set of instructions, executable by the processor, configured to select relational data from the relational application database; a fourth set of instructions, executable by the processor, configured to convert the relational data to XML data using the XML Mapping Definition; and a fifth set of instructions, executable by the processor, configured to store the converted relational data in the XML document. - View Dependent Claims (5, 6)
-
-
7. A system for converting data between a relational format and an XML document, the system comprising:
-
a processor; a relational application database, coupled to the processor, and containing relational data; a memory, coupled to the processor, and storing instructions for performing a method, the method comprising; creating an XML Mapping Definition from metadata, wherein the XML Mapping Definition comprises information relating relational data components to XML elements and relational data fields to XML elements or XML attributes, and said creating the XML Mapping Definition comprises collapsing one or more portions of an XML hierarchy comprising the XML elements and attributes to reduce the number of tables used in a relational application database; selecting relational data from the relational application database; converting the relational data to XML data using the XML Mapping Definition; and storing the converted relational data in the XML document. - View Dependent Claims (8, 9)
-
-
10. An apparatus for converting data between a relational format and an XML document, the apparatus comprising:
-
a relational database containing relational data; means for generating a XML Mapping Definition from XML or Relational metadata, wherein the XML Mapping Definition comprises information relating relational data components to XML elements and relational data fields to XML elements or XML attributes, and said means for generating the XML Mapping Definition comprises collapsing one or more portions of an XML hierarchy comprising the XML elements and attributes to reduce the number of tables used in the relational database; means for selecting relational data from the relational database; means for representing the relational data as an object instance; means for converting the object instance to XML data using the XML Mapping Definition; and means for storing the converted object instance in the XML document. - View Dependent Claims (11, 12)
-
-
13. A computer-readable storage medium comprising:
-
a first set of instructions, executable by a processor, configured to generate a XML Mapping Definition from XML or Relational metadata, wherein the XML Mapping Definition comprises information relating relational data components to XML elements and relational data fields to XML elements or XML attributes, and said first set of instructions comprises a second set of instructions, executable by the processor, configured to collapse one or more portions of an XML hierarchy comprising the XML elements and attributes to reduce the number of tables used in a relational database; a third set of instructions, executable by the processor, configured to select relational data from the relational database; a fourth set of instructions, executable by the processor, configured to represent the relational data as an object instance; a fifth set of instructions, executable by the processor, configured to convert the object instance to XML data using the XML Mapping Definition; and a sixth set of instructions, executable by the processor, configured to store the converted object instance in the XML document. - View Dependent Claims (14, 15)
-
-
16. A system for converting data between a relational format and an XML document, the system comprising:
-
a processor; a relational database, coupled to the processor, and containing relational data; a memory, coupled to the processor, and storing instructions for performing a method, the method comprising; generating a XML Mapping Definition from XML or Relational metadata, wherein the XML Mapping Definition comprises information relating relational data components to XML elements and relational data fields to XML elements or XML attributes, and said generating the XML Mapping Definition comprises collapsing one or more portions of an XML hierarchy comprising the XML elements and attributes to reduce the number of tables used in the relational database; selecting relational data from the relational database; representing the relational data as an object instance; converting the object instance to XML data using the XML Mapping Definition; and storing the converted object instance in the XML document. - View Dependent Claims (17, 18)
-
Specification