Code example for XmlSerializer

Methods: setOutput, startDocument, startTag