Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: XML gurus unite!!

by dmitri (Priest)
on Mar 05, 2007 at 20:55 UTC ( #603296=note: print w/replies, xml ) Need Help??


in reply to XML gurus unite!!

I had a similar problem, mucked with XML::Simple, XML::Writer and gave up... Here's what I did: use HTML::Template to create the XML and then use XML::Tidy to pretty-print it. Works like a charm, and you are in full control of attributes, escaping, and everything else.