xPath-to-XML generator - first draft