I have an XML file, with some format. I want the data to be modified in some way I want. I feel XML::Twig is the way to do it.
I want to know if there is any other better alternative?
I have an XML file, with some format. I want the data to be modified in some way I want. I feel XML::Twig is the way to do it.
I want to know if there is any other better alternative?
You will probably find the XML::Twig
is an ideal tool for the task and there have been plenty of questions/answers on Stack Overflow that seem to reaffirm this:
You may also find it helpful to know that the author of XML::Twig does answer questions on this site: Mirod.
However if you really are looking for an alternative then have a look at XML::LibXML
. This module is based on libxml2 library (XML::Twig is written on top of XML::Parser
which uses the expat library).
Mirod himself lists alternatives to XML::Twig in his FAQ.
/I3az/