The XML file will get written improperly if you do not select anything from the list of styles.
In the HTML Editor wizard, go to the styles tab.
Se;ct your CSS page.
In the list of available styles, you must select the styles you wish to include in the styles list.
if you do not make any selections, the XML file gets written as undefined.