Importing and exporting markup language data in a spreadsheet application document
First Claim
1. A method of utilizing hierarchical data in an extensible Markup Language formatted in a spreadsheet document, comprising:
- selecting a data file containing the hierarchical data for importing into a spreadsheet document whereby the data file has applied hierarchical data mapped to the spreadsheet document, wherein the applied hierarchical data includes a plurality of fields;
identifying a hierarchical data mapping whereby each of the plurality of fields of the hierarchical data applied to the data file is mapped to an associated schema file for defining data definitions for the plurality of fields applied to the spreadsheet document;
parsing the hierarchical data mapping to obtain pointers associated with the plurality of fields applied to the data file pointing to the applied plurality of fields of the associated schema file, whereby parsing the data mapping includes;
parsing the hierarchical data mapping to obtain pointers referenced to positions in the data file associated with each field of the plurality of fields applied to the data file for pointing each field of the plurality of fields applied to the data file to a corresponding data definition in the associated schema file; and
parsing the hierarchical data mapping with a parser and obtaining an address for pointing to a particular node in the hierarchical data for each field of the plurality of fields applied to the data file from the associated schema file;
executing each pointer to find locations of the plurality of fields applied to the data file;
executing each pointer to the associated schema file to obtain hierarchical data definitions applicable to the plurality of fields according to the schema file;
populating the locations of each field of the plurality of fields with any associated user data and the corresponding plurality of fields and hierarchical data definitions from the associated schema file;
determining a layout for rendering the data file to the spreadsheet document based on the locations of each field of the plurality of fields applied to the data file; and
rendering the data file in the spreadsheet document by converting the data from a hierarchical structure to a flattered data structure for rendering the data in the spreadsheet document, and by formatting any user data rendered in the spreadsheet document according to the data definitions associated with a field in the plurality of fields applied to the location of the any user data according to the associated schema file, whereby the plurality of fields in any user data associated with the plurality of fields are positioned in the spreadsheet document according to the layout.
1 Assignment
0 Petitions
Accused Products
Abstract
Extensible markup language data in an extensible markup language (such as XML) is associated with a schema file for defining data types and data type definitions for applying data to the document. A map is prepared that relates that any extensible markup data applied to the document back to corresponding elements or attributes defined in the associated schema file. When the document is imported into a spreadsheet application grid, the data map is parsed to find XPATHs which determine the location, data types and user data for each cell or list object in the document related to the schema file. The cells and lists are populated with the extensible markup data and user data, and rendered according to formatting dictated by the extensible markup data applied to the document. The document may be exported such that the extensible markup data is maintained for subsequent import and use.
59 Citations
16 Claims
-
1. A method of utilizing hierarchical data in an extensible Markup Language formatted in a spreadsheet document, comprising:
-
selecting a data file containing the hierarchical data for importing into a spreadsheet document whereby the data file has applied hierarchical data mapped to the spreadsheet document, wherein the applied hierarchical data includes a plurality of fields; identifying a hierarchical data mapping whereby each of the plurality of fields of the hierarchical data applied to the data file is mapped to an associated schema file for defining data definitions for the plurality of fields applied to the spreadsheet document; parsing the hierarchical data mapping to obtain pointers associated with the plurality of fields applied to the data file pointing to the applied plurality of fields of the associated schema file, whereby parsing the data mapping includes; parsing the hierarchical data mapping to obtain pointers referenced to positions in the data file associated with each field of the plurality of fields applied to the data file for pointing each field of the plurality of fields applied to the data file to a corresponding data definition in the associated schema file; and parsing the hierarchical data mapping with a parser and obtaining an address for pointing to a particular node in the hierarchical data for each field of the plurality of fields applied to the data file from the associated schema file; executing each pointer to find locations of the plurality of fields applied to the data file; executing each pointer to the associated schema file to obtain hierarchical data definitions applicable to the plurality of fields according to the schema file; populating the locations of each field of the plurality of fields with any associated user data and the corresponding plurality of fields and hierarchical data definitions from the associated schema file; determining a layout for rendering the data file to the spreadsheet document based on the locations of each field of the plurality of fields applied to the data file; and rendering the data file in the spreadsheet document by converting the data from a hierarchical structure to a flattered data structure for rendering the data in the spreadsheet document, and by formatting any user data rendered in the spreadsheet document according to the data definitions associated with a field in the plurality of fields applied to the location of the any user data according to the associated schema file, whereby the plurality of fields in any user data associated with the plurality of fields are positioned in the spreadsheet document according to the layout. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A computer readable storage medium having computer executable instructions contained thereon which when executed by a computer perform the following steps for utilizing hierarchical data in an extensible Markup Language formatted in a spreadsheet document:
-
selecting a data file containing the hierarchical data for importing into a spreadsheet document whereby the data file has applied hierarchical data mapped to the spreadsheet document, wherein the applied hierarchical data includes a plurality of fields; identifying a hierarchical data mapping whereby each of the plurality of fields of the hierarchical data applied to the data file is mapped to an associated schema file for defining data definitions for the plurality of fields applied to the spreadsheet document; parsing the hierarchical data mapping to obtain pointers associated with the plurality of fields applied to the data file pointing to the applied plurality of fields of the associated schema file, whereby parsing the data mapping includes; parsing the hierarchical data mapping to obtain pointers referenced to positions in the data file associated with each field of the plurality of fields applied to the data file for pointing each field of the plurality of fields applied to the data file to a corresponding data definition in the associated schema file; and parsing the hierarchical data mapping with a parser and obtaining an address for pointing to a particular node in the hierarchical data for each field of the plurality of fields applied to the data file from the associated schema file; executing each pointer to find locations of the plurality of fields applied to the data file; executing each pointer to the associated schema file to obtain hierarchical data definitions applicable to the plurality of fields according to the schema file; populating the locations of each field of the plurality of fields with any associated user data and the corresponding plurality of fields and hierarchical data definitions from the associated schema file; determining a layout for rendering the data file to the spreadsheet document based on the locations of each field of the plurality of fields applied to the data file; and rendering the data file in the spreadsheet document by converting the data from a hierarchical structure to a flattered data structure for rendering the data in the spreadsheet document, and by formatting any user data rendered in the spreadsheet document according to the data definitions associated with a field in the plurality of fields applied to the location of the any user data according to the associated schema file, whereby the plurality of fields in any user data associated with the plurality of fields are positioned in the spreadsheet document according to the layout.
-
Specification