XML generation

TorgoX on 2002-03-29T00:50:00

Dear Log,

Thought for the day:

Do not generate XML by hand, nor just by doing
print "<thing foo='$bar' />";

Use XML::Generator!


Ah, Ben Holzman...

jjohn on 2002-03-29T01:13:59

Smart fellow. The module looks interesting. Still, I suspect there is *some* printing going on in there...

Look twice

darobin on 2002-03-30T18:43:55

Last time I checked that module had a few issues, notably with encoding and with not always producing correct XML. Of course, this might have changed, but it hasn't been updated in a while so I'd be wary.

There's a growing variety of ways of producing XML without writing it. My current favourite is XML::Generator::PerlData. Simple, efficient, perlish (in a good way): what more can one ask?