Bug fix for the xml_create_element() method for when the data_names() function is None.
Authored by: bugman 2008-06-22
Parent: [r6450]
Child: [r6452]