adding text version of XML doc