I don't think `XML::XPath` has a method for that. The method is in `XML::XPath::Parser`, which I don't remember being accessible through any method. I would normally think this is fragile, but since `XML::XPath` hasn't been changed in 10 years...