System and method for automatic loading of an XML document defined by a document-type definition into a relational database including the generation of a relational schema therefor
First Claim
1. A method for generating a schema for a relational database corresponding to a document having a document-type definition and data complying with the document-type definition, the document-type definition having content particles representative of the structure of the document data, as well as loading the data into the relational database in a manner consistent with the relational schema, the method comprising the steps of:
- extracting metadata representative of the document-type definition from the document-type definition;
storing the metadata in at least three tables comprising a metadata item table containing metadata representative of element types in the document-type definition, a metadata attribute table containing metadata representative of attributes in the document type definition, and a metadata nesting table containing metadata representative of nesting relationships between particles in the document type definition;
automatically generating the schema for the relational database from the metadata, wherein at least one table is thereby defined in the relational database corresponding to at least one content particle of the document-type definition via the metadata; and
loading the document data into the at least one table of the relational database according to the relational schema in a manner driven by the metadata.
3 Assignments
0 Petitions
Accused Products
Abstract
A system and a method are provided for generating (28) a schema (22) for a relational database corresponding to a document having a document-type definition (18) and data complying with the document-type definition (18). The document-type definition (19) has content particles representative of the structure of the document data including one or more of the following content particles: elements, attributes of elements, nesting relationships between elements, grouping relationships between elements, schema (22) ordering indicators, existence indicators, occurrence indicators and element ID referencing indicators. The system and method described herein also contemplates loading the data into the relational database in a manner consistent with the relational schema (22). Metadata is extracted from the document-type definition (18) representative of the document-type definition (18). The schema (22) for the relational database is generated from the metadata, wherein at least one table is thereby defined in the relational database corresponding to at least one content particle of the document-type definition (18) via the metadata (34). The data is then loaded into the at least one table of the relational dataset according to the relational schema (22) in a manner driven by the metadata (34).
-
Citations
70 Claims
-
1. A method for generating a schema for a relational database corresponding to a document having a document-type definition and data complying with the document-type definition, the document-type definition having content particles representative of the structure of the document data, as well as loading the data into the relational database in a manner consistent with the relational schema, the method comprising the steps of:
-
extracting metadata representative of the document-type definition from the document-type definition; storing the metadata in at least three tables comprising a metadata item table containing metadata representative of element types in the document-type definition, a metadata attribute table containing metadata representative of attributes in the document type definition, and a metadata nesting table containing metadata representative of nesting relationships between particles in the document type definition; automatically generating the schema for the relational database from the metadata, wherein at least one table is thereby defined in the relational database corresponding to at least one content particle of the document-type definition via the metadata; and loading the document data into the at least one table of the relational database according to the relational schema in a manner driven by the metadata. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36)
-
-
37. A system for generating a schema for a relational database corresponding to a document having a document-type definition and data complying with the document-type definition, the document-type definition having content particles representative of the structure of the document data, as well as loading the data into the relational database in a manner consistent with the relational schema, the system comprising:
-
an extractor adapted to read a document-type definition and to extract metadata representative of the document-type definition from the document-type definition, wherein the extractor stores the metadata in at least three tables comprising a metadata item table containing metadata representative of element types in the document-type definition, a metadata attribute table containing metadata representative of attributes in the document type definition, and a metadata nesting table containing metadata representative of nesting relationships between particles in the document type definition; a generator operably interconnected to the extractor for automatically generating the schema for the relational database from the metadata, wherein at least one table is thereby defined in the relational database corresponding to at least one content particle of the document-type definition via the metadata; and a loader operably interconnected to the generator for loading the document data into the at least one table of the relational database according to the relational schema in a manner driven by the metadata. - View Dependent Claims (38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63)
-
-
64. A system for generating a schema for a relational database corresponding to a document having a document-type definition and data complying with the document-type definition, the document-type definition having content particles representative of the structure of the document data, as well as loading the data into the relational database in a manner consistent with the relational schema, the system comprising:
-
an extractor adapted to read automatically a document-type definition that extracts metadata representative of the document-type definition from the document-type definition, wherein the extractor stores the metadata in at least three tables comprising a metadata item table containing metadata representative of element types in the document-type definition, a metadata attribute table containing metadata representative of attributes in the document type definition, and a metadata nesting table containing metadata representative of nesting relationships between particles in the document type definition; and a generator operably interconnected to the extractor for automatically generating the schema for the relational database from the metadata, wherein at least one table is thereby defined in the relational database corresponding to at least one content particle of the document-type definition via the metadata. - View Dependent Claims (65, 66, 67, 68, 69, 70)
-
Specification