Initial implementation of the XmlDataWriter