That is not the case. The XML libname engine attempts to interpret the XML but you can easily read an XML file in using the infile statement. Treat it as unstructured text, do your regex replace, and write the lines out as they came in. Also, look at the new varchar type if you have 9.4M5. Useful for things such as XML.
https://github.com/savian-net