_output.println("<?xml version=\"1.0\" encoding=\"" + _encoding + "\"?>"); _output.println("<data>");
try { _writer.writeStartDocument(_encoding, "1.0"); printlnIfPrettyPrinting(); _writer.writeStartElement("data"); printlnIfPrettyPrinting(); } catch (XMLStreamException ex) { throw new DataWriterException(ex); }
    public void writeDocumentStart()    {        _output.println("<?xml version=\"1.0\" encoding=\"" + _encoding + "\"?>");        _output.println("<data>");    }