I am using xerces for XML parsing.
After parsing in new XML file I am getting below is a first line but i dont want it.
"<?xml version="1.0" encoding="UTF-8" standalone="no" ?>"
Could anyone please help me to remove this line in output/updated XML file.
(please suggest solution suits to xerces)
Write the file yourself -- does the tool give you a big string (you can use substring and a small loop or find or something to get the index) that you can write yourself?
https://xerces.apache.org/xerces-c/
Because it would seem the s/w you're using should be able to do the right thing if what you're passing in is actually valid XML to begin with.