For Programmers: Free Programming Magazines  


Home > Archive > PERL Programming > May 2005 > Search and Replace









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Search and Replace
vincebrown

2005-04-25, 10:09 am

Hi. Could someone please tell me how to write a script that searches an .xml file and insert a string between two xml tags? Thanks.
displeaser

2005-05-23, 10:14 am

Hi,

you should look at he xml modules. If the xml is not too complex you can use XML::Simple which is easy to use.

Alternative modules for this would be XML::Smart, XML:: actually theres lots of xml modules suitable, have a look in your perl distribution to see what was installed by default or search cpan for xml modules.


D
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com