Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: how to strip XML into Plain Text fileby davido (Cardinal) |
on Jan 25, 2005 at 21:41 UTC ( [id://425051]=note: print w/replies, xml ) | Need Help?? |
Using XML::Simple you can dump the XML into a Perl datastructure. From that point, formatting it for output should be simple. I've used XML::Simple with the PerlMonks::Mechanized project, among other little projects, and have found it to be easy and pretty straightforward. DO read its documentation though, because there are some settings that can be used to achieve a more useful datastructure dump, and these settings are not obvious without reading the docs. Dave
In Section
Seekers of Perl Wisdom
|
|