Index for accessing XML data
First Claim
1. A method for accessing information from XML documents, the method comprising:
- identifying, within the XML documents, a set of nodes to be indexed;
for each node in the set of nodes to be indexed, storing, in an index, an entry for the node, wherein the entry for a given node includes location data for locating XML content associated with the given node, and at least one of;
(a) hierarchical data that indicates a hierarchical position of the given node within the XML document that contains the given node; and
(b) path data that corresponds to a path, through the structure of the XML document that contains the given node, to the given node; and
using the index to locate information within the XML documents in response to requests for information from the XML documents.
2 Assignments
0 Petitions
Accused Products
Abstract
Techniques are provided for indexing XML documents. According to one embodiment, a PATH table created for storing one row for each indexed node of the XML documents. The PATH table row for a node includes (1) information for locating the XML document that contains the node, (2) information that identifies the path of the node, and (3) information that identifies the position of the node within the hierarchical structure of the XML document that contains the node. If the node is associated with the value, then the PATH table row for the node may also include the value. Use of the PATH table to answer XPath queries is facilitated by secondary indexes.
194 Citations
24 Claims
-
1. A method for accessing information from XML documents, the method comprising:
-
identifying, within the XML documents, a set of nodes to be indexed;
for each node in the set of nodes to be indexed, storing, in an index, an entry for the node, wherein the entry for a given node includes location data for locating XML content associated with the given node, and at least one of;
(a) hierarchical data that indicates a hierarchical position of the given node within the XML document that contains the given node; and
(b) path data that corresponds to a path, through the structure of the XML document that contains the given node, to the given node; and
using the index to locate information within the XML documents in response to requests for information from the XML documents. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
-
Specification