Hmm how is it possible with your prototype `setXPath(DOMXPath $xpath)` ?