[Chicago-talk] XMLout hash key that was not a legal XML element name

Mike Fragassi frag at ripco.com
Mon Sep 3 19:55:37 PDT 2007

Try XML::LibXML (see documentation under XML::LibXML::Document for 
is_valid() and validate()) or maybe XML::Checker.

On Mon, 3 Sep 2007, tiger peng wrote:

> Hello,

I am trying to use XML::Simple to dump data in XML format. However, as the data are dynamically created,  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?

Any suggestions are appreciated,


More information about the Chicago-talk mailing list