XPath magic is hurd