Code example for XmlSerializer

Methods: endDocument, flush, toString