Create an XML document manually