Generating XML instances from flat files
First Claim
1. A method for converting a body of data records to an XML format, wherein each record of said body of data records conforms to a same record format, said record format comprising record fields and an ordering among said record fields, each record field of said record fields belonging to a data type, wherein no record of said body of data records conforms to XML, wherein the method comprises:
- generating a target XML schema document that includes declarations that both describe the record format and describe said XML schema of XML instances to which to convert said body of data records;
for each record field of said record fields, the declarations describe the respective data type of the record field and the order of the record field in said ordering among the record fields;
based on the body of data records and the XML schema, generating an XML instance that conforms to the XML schema;
wherein the method is performed by one or more computing devices.
1 Assignment
0 Petitions
Accused Products
Abstract
In order to parse a flat file to create an XML instance, information about the data and its hierarchy is captured in an XML schema definition. Once the data structure is defined in the Schema, the parsing instructions for the flat file are introduced in the schema so that after producing an XML instance from a schema definition, the instance may be populated with live data from the flat file.
104 Citations
24 Claims
-
1. A method for converting a body of data records to an XML format, wherein each record of said body of data records conforms to a same record format, said record format comprising record fields and an ordering among said record fields, each record field of said record fields belonging to a data type, wherein no record of said body of data records conforms to XML, wherein the method comprises:
-
generating a target XML schema document that includes declarations that both describe the record format and describe said XML schema of XML instances to which to convert said body of data records; for each record field of said record fields, the declarations describe the respective data type of the record field and the order of the record field in said ordering among the record fields; based on the body of data records and the XML schema, generating an XML instance that conforms to the XML schema; wherein the method is performed by one or more computing devices. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A non-transitory computer-readable medium storing one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform a method of converting a body of data records to an XML format, wherein each record of said body of data records conforms to a same record format, said record format comprising record fields and an ordering among said record fields, each record field of said record fields belonging to a data type, wherein no record of said body of data records conforms to XML, wherein the method steps executed by the one or more processors comprise:
-
generating a target XML schema document that includes declarations that both describe the record format and describe said XML schema of XML instances to which to convert said body of data records; for each record field of said record fields, the declarations describe the respective data type of the record field and the order of the record field in said ordering among the record fields; based on the body of data records and the XML schema, generating an XML instance that conforms to the XML schema; wherein the method is performed by one or more computing devices. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
-
Specification