Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: How can I replace a line (tag) in an XML file?

by perlfan (Curate)
on Sep 29, 2011 at 04:17 UTC ( #928460=note: print w/ replies, xml ) Need Help??


in reply to How can I replace a line (tag) in an XML file?

This sounds like a good application for XML::XPath. Most of my XML parsing experience has been with XML::Simple's event based parsing, though.


Comment on Re: How can I replace a line (tag) in an XML file?
Re^2: How can I replace a line (tag) in an XML file?
by mirod (Canon) on Sep 29, 2011 at 07:54 UTC

    Apparently it bears repeating: pretty much nothing is "a good application for XML::XPath" at this point in the life of the module (it hasn't been updated in over 8 years). In the DOM/XPath modules category, XML::LibXML is the recommended solution.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2014-08-29 04:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (275 votes), past polls