1. A method of applying queries to a document set comprising at least one document, respective documents comprising at least one node comprising a node name and a node path from a root node of the document, the method comprising: indexing the documents of the document set to generate a reverse index that indicates, for a query node identifier, a matching document subset of the document set, wherein respective documents of the matching document subset comprise at least one matching node comprising at least one path node in the node path of the matching node that matches the query node identifier; and fulfilling a query specifying a query node path comprising at least one query node identifier by: using the reverse index, select a matching document of the matching document subset; identifying, in the matching document, at least one matching node comprising, for respective query node identifiers, at least one path node in the node path of the matching node that matches the query node identifier; and presenting the at least one matching node of the matching document.
1. A method of applying queries to a document set comprising at least one document, respective documents comprising at least one node comprising a node name and a node path from a root node of the document, the method comprising: indexing the documents of the document set to generate a reverse index that indicates, for a query node identifier, a matching document subset of the document set, wherein respective documents of the matching document subset comprise at least one matching node comprising at least one path node in the node path of the matching node that matches the query node identifier; and fulfilling a query specifying a query node path comprising at least one query node identifier by: using the reverse index, select a matching document of the matching document subset; identifying, in the matching document, at least one matching node comprising, for respective query node identifiers, at least one path node in the node path of the matching node that matches the query node identifier; and presenting the at least one matching node of the matching document. 4. The method of claim 1 : the query node path specifying at least query node identifier set comprising at least two alternative query node identifiers; and identifying the matching documents comprising: identifying at least one matching document having at least one matching node comprising, for respective query node identifier sets, at least one path node in the node path of the matching node that matches at least one of the alternative query node identifiers.