There's more than one way to do things | |
PerlMonks |
Which XML module to use?by BrowserUk (Patriarch) |
on Jun 14, 2002 at 13:43 UTC ( [id://174510]=perlquestion: print w/replies, xml ) | Need Help?? |
BrowserUk has asked for the wisdom of the Perl Monks concerning the following question: Hi, I read all the docs on the various flavours of XML::* (including the "Where to go from here" section) and am still undecided which I should use. I also tried to follow the link in the following line (from my local html copy of the perldoc): Don't forget to check out the Perl XML FAQ at: http://www.perlxml.com/faq/perl-xml-faq.html but that leads to a music site? My application will be reading an XML-likefile (no DTD or namespaces for now) and using the information to generate the HTML for a page - the XML will be used to supply the values for titles, tables, jpg/png's etc and the default values for fields in forms. The size (and depth) of the structure should be fairly minimal to start with at least, but will no doubt get expanded over time. Would those of you in the know, start with XML::Simple or XML:Lite or XML::Parser? A short note indicating why you would go this route would be appreciated. Sub-question: The XML::Simple contains the following statement: XMLout() cannot produce well formed HTML unless you feed it with care - hash keys must conform to XML element naming rules and undefined values should be avoided. which I do not understand. I see no other references to XMLout producing HTML? Is this a typo?
Back to
Seekers of Perl Wisdom
|
|