62636465666768697071
mix.setRoot(true); XMLOutputFactory xmlof = XMLOutputFactory.newInstance(); XMLStreamWriter writer = xmlof.createXMLStreamWriter(System.out); mix.output(writer); } }