allow xpath to only include nodes under the root node, instead of everywhere in the document