I have formatted text (with newlines, tabs, etc.) coming in from a Telnet connection. I have a python script that manages the Telnet connection and embeds the Telnet response in XML that then gets passed through an XSLT transform. How do I pass that XML through the transform without losing the original formatting? I have access to the transformation script and the python script but not the transform invocation itself.
I have formatted text (with newlines, tabs, etc.) coming in from a Telnet connection.
Share
You could embed the text you want to be untouched in a CDATA section.