Update xml file in perl using XML::Simple or XML::Twig

hossein_xxxx

New Member
Can someone please help me with this?I want to modify the xml file using perl.I searched and found modules like XML::Simple/ XML::Twig but couldn't find an exact way.Below is some part of my xml file. I want to modify value of Driver having name='sybase' and save this change to original file.\[code\] <Properties> <Application> <Name>global</Name> <Cache>20</Cache> <Trace>true</Trace> <Drivers> <Driver name="sybase"> com.sybase</Driver> <Driver name="db2">com.db2</Driver> </Drivers> </Application></Properties>\[/code\]
 
Back
Top