parsing and storing the Envoy XML data