remove xml wrapper and output to output.xml