×

Reducing memory requirements needed to represent XML entities

  • US 7,321,900 B1
  • Filed: 06/14/2002
  • Issued: 01/22/2008
  • Est. Priority Date: 06/15/2001
  • Status: Expired due to Term
First Claim
Patent Images

1. A method used in accessing and storing a hierarchical tree representation of elements that reside in a body of data, the method comprising the steps of:

  • parsing said body of data to generate in memory a node tree that represents elements that reside in the body of data and that reflects a hierarchical tree relationship between said elements in said body of data;

    after said generating said node tree, said body of data includes certain elements for which there is no corresponding node in the node tree;

    wherein a first node in said node tree;

    corresponds to a first element in said body of data, wherein said first element contains a second element, said first element being hierarchically related to the second element as an ascendant of said second element, andincludes first element location data identifying the location of the first element within said body of data;

    after said generating in memory said node tree and while said node tree is in memory, receiving a request that requires access to a second node in said node tree, wherein said second node corresponds to the second element in said body of data;

    in response to receiving said request, determining that said second node is not in memory; and

    in response to determining that said second node is not in memory;

    using said first element location data to locate where within said body of data to begin parsing to extract data that is contained within the first element for said second element, andgenerating said second node based on said extracted data.

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