Replace content between first and last tag from XML file

Hi,

I want to replace content between first and last tag from XML file.

Like below

string1
string2

I want like below
replaced string
replaced string

have a look at this post - it might answer for you

Or maybe this

Hi Gearoid,

I want to replace content from xml tag, it not fixed
ROW
this content not fixed
/ROW

I want to replace content between ROW and /ROW

Do you know what the bad string is that needs to be replaced? If so, the second topic gearoid linked to should be what you need. You’ll read the file and output the data you want to keep using something like:

(preceding text of first "ROW%0a%0dBad string" of it & "ROW%0a%0dfixed string%0a%0d/ROW" & following text of first "/ROW" of it) of concatenation of lines of file "C:\file.txt"