added convenient stuff in order to write DipyDoc::create_xml_draft