Finished the XML Encoder.