Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Parsing XML/HTML

by rg0now (Chaplain)
on Apr 08, 2005 at 15:41 UTC ( #446049=note: print w/ replies, xml ) Need Help??


in reply to Parsing XML/HTML

I recall once I had to do similar things to a messy XHTML document, and XML::XSH came in pretty handy. It is an XML editing shell written in Perl with a number of utility shell commands to ease the work with structured data like XML, HTML, etc. It can do node insertions and deletions, filtering and manipulation of attributes (which might fit your needs here) and similar stuff with a very easy syntax.

Here is a nice tutorial on how to use XML::XSH from our beloved merlyn...

rg0now

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2016-07-25 05:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (222 votes). Check out past polls.