Fix path -> xpath for XML.