×

Method and system for converting a schema-based hierarchical data structure into a flat data structure

  • US 8,051,373 B2
  • Filed: 01/06/2006
  • Issued: 11/01/2011
  • Est. Priority Date: 02/28/2003
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for converting a hierarchical data structure into a flat data structure comprising:

  • in an application program, loading a schema and loading hierarchical data conforming to the schema wherein the hierarchical data includes data fields and data content linked together in a hierarchical relationship, wherein the schema defines hierarchical relationships between the data fields and attributes appearing in the hierarchical data;

    wherein the schema is separate from the hierarchical data;

    wherein the schema to load is identified by the loaded hierarchical data;

    examining the loaded schema to identify properties and element types in the schema;

    wherein the properties identify occurrence requirements for the data fields and the data content defined in the schema, the properties comprising;

    a first property that specifies that data fields may occur in any order but may only occur once and that data fields within the first property are displayed within a same row;

    a second property that specifies that data fields must occur in the specified order and may occur zero to more than once and that data fields within the second property are displayed on a same row unless the loaded schema defines an element as occurring more than once; and

    a third property that specifies that data fields do not share a relationship with each other and are chosen and that data fields within the third property are displayed on separate rows;

    applying a plurality of layout rules to the hierarchical data based on the examining of the loaded schema to create the flat data structure; and

    organizing the hierarchical data so that the hierarchical data is inserted in rows and columns in the flat data structure.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×