Keeping 
 and 
 in XML text (carriage returns and linefeeds)
Hi there,
I just started using TinyXML2, and I have to say it's fantastic! It took me very little time to get everything working exactly as I wanted...except for one thing. I am using the library in a program that sucks in an XML file, modifies it a bit, and writes it back out. (The file is actually an XML representation of a circuit schematic from OrCAD Capture software.)
OrCAD embeds carriage returns and linefeeds in XML attributes as hex representations in the form and . When saving out the new file, TinyXML2 removes those strings and replaces them with actual linefeeds and/or carriage returns. Unfortunately, OrCAD can't handle that formatting.
Is there any way to get TinyXML2 to keep the hex representation of these embedded carriage returns/linefeeds?
Thanks for any help! Ryan