minor refactor in XPathFacade API and added a little javadoc example