Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

TorgoX (1933)


"Il est beau comme la retractilité des serres des oiseaux rapaces [...] et surtout, comme la rencontre fortuite sur une table de dissection d'une machine à coudre et d'un parapluie !" -- Lautréamont

Journal of TorgoX (1933)

Thursday March 28, 2002
07:50 PM

XML generation

[ #3831 ]
Dear Log,

Thought for the day:

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

Use XML::Generator!

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Smart fellow. The module looks interesting. Still, I suspect there is *some* printing going on in there...
  • 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?


    -- Robin Berjon []