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

Brian Katzung briank at kappacs.com
Tue Sep 4 07:50:15 PDT 2007

Tiger et al,

I don't know if it will help, but I have a light-weight, unpublished 
module called Parse::XMLLite that may be more forgiving and can easily 
be made to be even more forgiving if needed. It creates a DOM-like parse 
tree using maybe half a dozen regexs for parsing and it's only 
dependency is Exporter.

If you (or anybody else) would like a copy, let me know and I'll be 
happy to send it along.

   - Brian

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,
> Tiger

Brian Katzung, Kappa Computer Solutions, LLC
Leveraging UNIX, Linux, open source, and custom
software solutions for business and beyond
Phone: 877.367.8837 x1  http://www.kappacs.com

More information about the Chicago-talk mailing list