RE: using xml::libxml to find replace in xml documents

2004-07-10 Thread Eric Lease Morgan
I wrote: Has anybody here written one or more Perl scripts using XML::LibXML to find replace in XML documents?... Thank you the all the replies. One person recommending a Perl module called XML::Twig. Another person recommended I use regular expressions. Two people recommended the use of XSLT

using xml::libxml to find replace in xml documents

2004-07-08 Thread Eric Lease Morgan
Has anybody here written one or more Perl scripts using XML::LibXML to find replace in XML documents? I have a set of 700 XML files. Each one has an incorrect attribute value in a processing instruction, a few invalid attributes in a particular element, and a set of elements