I am having a problem with some XML print files where the source system omits to convert some characters to their XML syntax equivalent (e.g. & is not converted to &am
&am
xmllint --valid --encode utf-8 TEST.xml
will validate and output TEST.xml in utf-8
cat TEST.xml
. . .