added function hashifyXML