Added output xml parsing