I have an xml file that I have to read in, convert all the carriage returns to \x0D and line feeds to \0xA, then call it into a function as a string.
So for example my XML file is:
<TEST> this is a string </Test>
I would want a string that contains "<TEST>\x0D\0xAthis is a string\x0D\x0A</Test>"
I've been able to read the XML file with pugiXML but I have not been sucessful in converting it to a string or finding the carriage returns/line feeds. ANy help would be appriciated. Thanks.