Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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?
[Corion]: Lady_Aleena: Yes, I think so, but maybe someone else might also take care of the cookies ;)
[Lady_Aleena]: I'll put it out there.

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2017-04-26 08:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (471 votes). Check out past polls.