Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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?
Replies are listed 'Best First'.
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 wandering the Monastery: (9)
As of 2015-07-29 10:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls