Link to home
Start Free TrialLog in
Avatar of Richard Kreidl
Richard KreidlFlag for United States of America

asked on

Replace string in XML file

How would I replace the first line in a XML file?

Current string = <?xml version="1.0" standalone="yes"?>
Desired string = <?xml version="1.0" encoding="utf-8"?>

I tried using the replace command but I get error because of the question character in the string.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of TechSinger
TechSinger
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Richard Kreidl

ASKER

thanks!!!