Optimizations of XPaths
First Claim
1. A method for searching for one or more logical elements in a hierarchical tree structure of an extensible markup language (XML) document conforming to a schema used for XML, comprising:
- providing a representation of an XML document instance containing two or more logical elements, wherein at least one logical element is a parent node and at least one logical element is a child node in a hierarchical tree structure describing the representation;
receiving a query for logical elements satisfying an XPath expression;
searching in the hierarchical tree structure only nodes that potentially have child nodes satisfying the XPath expression; and
providing the logical elements satisfying the XPath expression.
2 Assignments
0 Petitions
Accused Products
Abstract
Methods and apparatus, including computer program products, for searching for one or more logical elements in a hierarchical tree structure of an extended markup language document conforming to a schema used for XML. The method includes the steps of (1) providing a representation of an extended markup language document instance containing two or more logical elements, one being a parent node and one a child node in a hierarchical tree structure describing the representation; (2) receiving a query for logical elements satisfying an XPath expression; and (3) searching in the hierarchical tree structure only nodes that potentially have child nodes satisfying the XPath expression.
-
Citations
38 Claims
-
1. A method for searching for one or more logical elements in a hierarchical tree structure of an extensible markup language (XML) document conforming to a schema used for XML, comprising:
-
providing a representation of an XML document instance containing two or more logical elements, wherein at least one logical element is a parent node and at least one logical element is a child node in a hierarchical tree structure describing the representation; receiving a query for logical elements satisfying an XPath expression; searching in the hierarchical tree structure only nodes that potentially have child nodes satisfying the XPath expression; and providing the logical elements satisfying the XPath expression. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. A computer program product, tangibly encoded on a computer-readable storage medium, for searching for one or more logical elements in a hierarchical tree structure of an extensible markup language (XML) document conforming to a schema used for XML, comprising instructions operable to cause a programmable processor to:
-
provide a representation of an XML document instance containing two or more logical elements, wherein at least one logical element is a parent node and at least one logical element is a child node in a hierarchical tree structure describing the representation; receive a query for logical elements satisfying an XPath expression; search in the hierarchical tree structure only nodes that potentially have child nodes satisfying the math expression; and provide the logical elements satisfying the XPath expression. - View Dependent Claims (21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38)
-
Specification