Apparatus, system, and method for passing data between an extensible markup language document and a hierarchical database
First Claim
1. An article of manufacture comprising a program storage medium readable by a processor and embodying one or more instructions executable by a processor to perform a method for passing data between an eXtensible Markup Language (XML) document and a hierarchical database, the method comprising:
- providing an Information Management System (IMS) hierarchical database;
providing a metadata schema derived from the IMS hierarchical database, the metadata schema comprising a first representation representative of the hierarchical structure of the IMS hierarchical database, a second representation representative of the hierarchical structure of XML documents valid for passing into and out of the IMS hierarchical database, a database field name, and an XML element name that maps to the database field name;
passing data between an XML document and the IMS hierarchical database using the metadata schema, further comprising;
receiving the XML document comprising XML elements organized according to the metadata schema;
matching an XML element of the XML document with a metadata element defined in the metadata schema; and
storing content data from the XML element in a database field of the hierarchical database identified by the matching metadata element; and
passing an intact XML document to the IMS hierarchical database and storing it intact, further comprising;
receiving the XML document and a database node identifier;
initializing a first database node of the hierarchical database identified by the database node identifier;
sequentially writing raw data from the beginning of the XML document into the first database node; and
selectively identifying a break point in the XML document, in response to the first database node filling with raw data, the method further comprising,initializing a second database node that is a child of the first database node; and
sequentially writing raw data from the break point of the XML document into the second database node.
4 Assignments
0 Petitions
Accused Products
Abstract
An apparatus, system, and method are provided for passing data between an XML document and a hierarchical database. The apparatus, system, and method include a hierarchical database, a metadata schema, and a mapping module. The hierarchical database comprises a conventional hierarchical database, such as IMS. The metadata schema is derived from the hierarchical database. The metadata schema includes a first representation representative of the hierarchical structure of the hierarchical database, a second representation representative of the hierarchical structure of XML documents valid for passing into and out of the hierarchical database, one or more database field names, and one or more XML element names that map to the one or more database field names. The mapping module passes data between the XML document and the hierarchical database using the metadata schema.
38 Citations
15 Claims
-
1. An article of manufacture comprising a program storage medium readable by a processor and embodying one or more instructions executable by a processor to perform a method for passing data between an eXtensible Markup Language (XML) document and a hierarchical database, the method comprising:
-
providing an Information Management System (IMS) hierarchical database; providing a metadata schema derived from the IMS hierarchical database, the metadata schema comprising a first representation representative of the hierarchical structure of the IMS hierarchical database, a second representation representative of the hierarchical structure of XML documents valid for passing into and out of the IMS hierarchical database, a database field name, and an XML element name that maps to the database field name; passing data between an XML document and the IMS hierarchical database using the metadata schema, further comprising; receiving the XML document comprising XML elements organized according to the metadata schema; matching an XML element of the XML document with a metadata element defined in the metadata schema; and storing content data from the XML element in a database field of the hierarchical database identified by the matching metadata element; and passing an intact XML document to the IMS hierarchical database and storing it intact, further comprising; receiving the XML document and a database node identifier; initializing a first database node of the hierarchical database identified by the database node identifier; sequentially writing raw data from the beginning of the XML document into the first database node; and selectively identifying a break point in the XML document, in response to the first database node filling with raw data, the method further comprising, initializing a second database node that is a child of the first database node; and sequentially writing raw data from the break point of the XML document into the second database node. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. An apparatus for passing data between an eXtensible Markup Language (XML) document and a hierarchical database, the apparatus comprising:
-
a hierarchical database managed by an Information Management System (IMS) operating on a computer having a processor and memory; a metadata schema derived from the hierarchical database, the metadata schema comprising a first representation representative of the hierarchical structure of the hierarchical database, a second representation representative of the hierarchical structure of XML documents valid for passing into and out of the hierarchical database, a database field name, and an XML element name that maps to the database field name; and a mapping module in external communication with the hierarchical database and configured to pass data between an XML document and the hierarchical database using the metadata schema, the mapping module operating on a computer having a processor and memory, the mapping module comprising; an input module configured to receive an XML document comprising XML elements organized according to a metadata schema; a matching module configured to match an XML element of the XML document with a metadata element defined in the metadata schema; and a storage module configured to store content data from the XML element in a database field of the hierarchical database identified by the matching metadata element; and the mapping module further configured to store an intact XML document in the hierarchical database, the mapping module comprising; an input module configured to receive an XML document and a database node identifier; an initialization module configured to initialize a first database node of the hierarchical database identified by the database node identifier; the storage module further configured to sequentially write raw data from the beginning of the XML document into the first database node; and a breakpoint module configured to selectively identify a break point in the XML document, in response to the first database node filling with raw data, the breakpoint module; initializing a second database node that is a child of the first database node; and sequentially writing raw data from the break point of the XML document into the second database node. - View Dependent Claims (11, 12, 13)
-
-
14. A system for passing data between an eXtensible Markup Language (XML) document and a hierarchical database, the apparatus comprising:
-
an interface operating on a computer having a processor and memory, the interface configured to receive commands for passing data between a hierarchical database and an XML document comprising an input module configured to receive an XML document comprising XML elements organized according to a metadata schema; a database schema comprising a set of java classes representative of one or more nodes and one or more database fields of the hierarchical database, the java classes comprising a database field name and a corresponding XML element name; an XML schema corresponding to the XML document and configured such that the XML schema comprises a representation of the hierarchical structure of the hierarchical database and an XML element name that maps to the database field name in the database schema; and a mapping module in external communication with the hierarchical database and configured to pass data between the XML document and the hierarchical database using the database schema in conjunction with the XML schema, the mapping module operating on a computer having a processor and memory, the mapping module comprising; a matching module configured to match an XML element of the XML document with a metadata element defined in the metadata schema; and a storage module configured to store content data from the XML element in a database field of the hierarchical database identified by the matching metadata element; and the mapping module further configured to store an intact XML document in the hierarchical database, the mapping module comprising; the input module further configured to receive an XML document and a database node identifier; an initialization module configured to initialize a first database node of the hierarchical database identified by the database node identifier; the storage module further configured to sequentially write raw data from the beginning of the XML document into the first database node; and a breakpoint module configured to selectively identify a break point in the XML document, in response to the first database node filling with raw data, the breakpoint module; initializing a second database node that is a child of the first database node; and sequentially writing raw data from the break point of the XML document into the second database node. - View Dependent Claims (15)
-
Specification