I have the xml file below;
<?xml version="1.0" encoding="UTF-8"?>
<response><XXX><id>1</id></XXX></response>
I want to remove the XML header <?xml version="1.0" encoding="UTF-8"?>
from the file such that the xml file will look like this;
<response><XXX><id>1</id></XXX></response>
How can this be done using Excel VBA?
The purpose of doing this is so that I can load the header-less string into MSXML2.DOMDocument object through LoadXML() function.
Thank you.