XML data loading
First Claim
1. A method for loading markup language data files and documents into a computer database, said markup language data files containing data items and elements, said database having an application programming interface for modifying contents of the database through database command statements, said method comprising the steps of:
- parsing a markup language data file into elements according to a format description, said elements being immediately available for further processing;
generating one or more database command statements responsive to the immediate availability of said elements, said generated database command statements being stored in a database command statement queue; and
executing said queued database command statements such that a database is updated in order to achieve loading of data from said markup language data file into a database.
3 Assignments
0 Petitions
Accused Products
Abstract
An XML Data Loader which employs the SAX parsing technology, provides an extendible architecture to generate SQL for each type of XML document to be loaded, and leverages multithreading and decoupling of processes to parse an XML file and to update a database. By using object-oriented programming methodologies, the system and method create new instances of the XML data loader for each XML file to be loaded into a database. Thus, many XML data files may be processed and loaded simultaneously, which minimizes system memory requirements, improves system reliability and memory management, and reduces processing time required from the start of processing an XML file to completing its loading into a database. The invention is applicable to other types of markup language documents, as well.
-
Citations
17 Claims
-
1. A method for loading markup language data files and documents into a computer database, said markup language data files containing data items and elements, said database having an application programming interface for modifying contents of the database through database command statements, said method comprising the steps of:
-
parsing a markup language data file into elements according to a format description, said elements being immediately available for further processing;
generating one or more database command statements responsive to the immediate availability of said elements, said generated database command statements being stored in a database command statement queue; and
executing said queued database command statements such that a database is updated in order to achieve loading of data from said markup language data file into a database. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer readable medium having program code stored therein for loading markup language data files and documents into a computer database in a computer system, said markup language data files containing data items and elements, said database having an application programming interface for modifying contents of the database through database command statements, said program code when executed by a computer system causing the computer system to perform the steps of:
-
parsing a markup language data file into elements according to a format description, said elements being immediately available for further processing;
generating one or more database command statements responsive to the immediate availability of said elements, said generated database command statements being stored in a database command statement queue; and
executing said queued database command statements such that a database is updated in order to achieve loading of data from said markup language data file into a database. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A system for loading markup language data files and documents into a computer database in a computer, said markup language data files containing data items and elements, said database having an application programming interface for modifying contents of the database through database command statements, said system comprising:
-
a markup language data file loader which is adapted to parse markup language data files on an element-by-element basis, and which is adapted to select and operate an operator extension;
at least one operator extension operable by said loader, adapted to evaluate the parsed elements as they are available from said loader and to generate database application programming interface command statements; and
a database updater adapted to execute said generated database application programming interface command statements in order to modify contents of a database. - View Dependent Claims (12, 13, 14, 15, 16, 17)
-
Specification