|This is the general form to replace a string. But it gets tricky with xml [and maybe java] because of special use chars, like < & >.|
:: chgstr.bat Fri 04-03-2011 14:29:09.34
@echo off > newfile & setLocal enableDELAYedeXpansion
for /f "tokens=* delims= " %%a in (myfile) do (
>> newfile echo.!S!
Life is too important to be taken seriously.