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.