Add missing conversion from string to xml doc.