Added normalize to XML document