<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:12pt"><div>Hello,<br><br>I am trying to use XML::Simple to dump data in XML format. However, as the data are dynamically created,&nbsp; the hash keys may contain illegal XML element names and the result files may be not well-formated XML files. Also, the data structures may vary, so it is not easy to traverse the data to check and handle the illegal keys. Are there any modules and/or approaches are good for handling this kind of requirement?<br><br>Any suggestions are appreciated,<br><br>Tiger<br><br></div></div></body></html>