Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: how to strip XML into Plain Text file

by davido (Cardinal)
on Jan 25, 2005 at 21:41 UTC ( #425051=note: print w/replies, xml ) Need Help??


in reply to how to strip XML into Plain Text file

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

  • Comment on Re: how to strip XML into Plain Text file

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://425051]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2022-12-01 00:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?