I'm using R to produce an xml file and it is encoded in UTF-8. It looks really good in browser however looks unstructured in a text file(in the sample output it looks both good in a browser and a text file).
here is the structure in browser:
<?xml version="1.0" encoding="UTF-8"?>
-<sparesHeader>
   <partnerRef>MediaLab</partnerRef>
   <messageType>CompMaster</messageType>
   <componentClass>PSTN</componentClass>
and here is the structure in text:
<?xml version="1.0" encoding="utf-8"?>
<sparesHeader><partnerRef>MediaLab</partnerRef><messageType>CompMaster</messageType>   <componentClass>PSTN</componentClass>
Anyone have encountered something like this before?
Thanks in advance.
