[2EPUB] XPath bugfixes.

We used it globally on the document and not as ::descendant.