Create XML from for text map