Re: [Tutor] Topic #2 of Tutor Digest

2012-07-28 Thread Todd Tabern
on't care about getting moji-bake, you can pretend that the file is encoded using Latin-1. That will pretty much read anything, although what it gives you may be junk. -- Steven -- Message: 2 Date: Sat, 28 Jul 2012 11:25:30 +0100 From: Mark Lawrence To: tutor@py

[Tutor] Search and replace text in XML file?

2012-07-27 Thread Todd Tabern
I'm looking to search an entire XML file for specific text and replace that text, while maintaining the structure of the XML file. The text occurs within multiple nodes throughout the file. I basically need to replace every occurrence C:\Program Files with C:\Program Files (x86), regardless of