Okay, from this
Quote:


<Receipt>
<test>This is too cool</test>
</Receipt>





to

Quote:


<Receipt>
<test>This is too cool</test>
</Receipt>





Using This

Code:

Break on
;
$sourcefile = "c:\XMLfile.xml"
$newfile = "c:\newXMLfile.xml"
;
$rc = Open (1, $sourcefile, 2)
$rc = Open (2, $newfile, 5)
;
$line = ReadLine (1)
If InStr ($line, "This is too cool")
$line = Split($line, "This is too cool")
$line = Join ($line, "Dude")
$rc = WriteLine (2, $line + @CRLF)
Else
$rc = WriteLine (2, $line + @CRLF)
EndIf
;
$rc = Close(1)
$rc = Close(2)



Edited by Faithfulman (2006-10-18 02:02 AM)