Clear questions and runnable code
get the best and fastest answer
Changing XML Tag values in Perlby anand_perl (Novice)
|on Sep 19, 2008 at 08:31 UTC||Need Help??|
anand_perl has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to modify a XML File using a perl script
I am trying to change the value of a XML tag in that file
The file is a follows
Now I want to modify the value of the "href" tag inside each "test" node.
For example the value of the "hef" tag in the first "test" node is file.txt.
I want its value to be modified to file.xml
Is this possible??..
I am using the XML::Parser and XML::Simpleobject modules to parse the XML Files
Can anyone help me on this
Thanks in advance....