CFFILE READ of xml file strips carriage returns
When I use CFFILE to READ an XML file (in order to get it to the XMLPARSE step), it strips all of the carriage returns out from between tags.
My simple command of CFFILE action="read" file="#tempFile#" variable="XMLData" results, of course, in the variable XMLDATA. When I CFOUTPUT that value, all of the carriage returns are gone.
In the original raw XML file, there is a section as such:
<inspection_comment comment_type="0">Tag missing.
Piped backwards.(d)</inspection_comment>
That is, there are actually two chr(13)chr(10) combinations. Yet, after the CFFILE READ, I end up with
Tag missing. Piped backwards.(d)
and no carriage returns whatsoever. Is this a natural occurence because it's an XML file, or am I just not holding my tongue right?
Thanks! RLS
