×

Specification of sub-elements and attributes in an XML sub-tree and method for extracting data values therefrom

  • US 6,611,843 B1
  • Filed: 08/27/2001
  • Issued: 08/26/2003
  • Est. Priority Date: 10/26/2000
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for automatically generating SQL by specifying sub-elements and attributes in a sub-tree and for extracting data values therefrom, comprising the steps of:

  • (a) defining content elements as recursively hierarchical sub-trees by defining a first XML ELEMENT in a document type definition, each content element including a top-level element and zero or more embedded subelements, and wherein leaf nodes in the sub-trees represent data values, the content elements further represented in an XML information set as objected-oriented content that is represented as a directed acyclic graph (DAG), where a child node may have multiple direct parents;

    (b) extracting data values from the content elements by using the description of the first XML ELEMENT to recursively traverse each top-level element and extract the data values from the sub-tree;

    (c) providing a first routine that accepts as parameters the description of the first XML ELEMENT, and a first top-level content element, and returns a string containing the data values extracted from the first top-level content element; and

    (d) using the string returned from the first routine to represent SQL statements that perform database functions.

View all claims
  • 7 Assignments
Timeline View
Assignment View
    ×
    ×