[Info-vax] *.xml files - carriage return's go into file in VMS - how to remove CR's?
Arne Vajhøj
arne at vajhoej.dk
Wed Apr 15 21:58:39 EDT 2009
Chuck Aaron wrote:
> Can anyone help me with how to search/repl or convert the
> file to eliminate the carriage returns in the xml
> file in VMS?
If your app validates against a DTD or a schema then it should
ignore whitespace between defined elements.
If you really need to get rid of it, then check the record
format.
If it lf_stream, then the suggestion:
$ SET FILE/ATTR=RAT:CR filename
should fix the problem.
After that convert it with:
$ CONVERT/FDL=NLA0: inputfile outputfile
Arne
More information about the Info-vax
mailing list