update outputtoxml