writeXml adds 
 to the end of the output file, which is not a part of the data. Tips to remove?
5 views (last 30 days)
Show older comments
writeXml(xmltargetdir, xmlData.Name, xmlData, '1D');
xmlData.Name contains a cell array of different strings. For now its all called Random Text.


As shown here, the output contains 
 which is not in the data. Would like some tips to cut it out of the output.

0 Comments
Accepted Answer
Walter Roberson
on 28 Apr 2023
#xD; is carriage return. Is it possible that you are reading a file that was created in Windows, and splitting up text, but that you are not removing carriage returns when you do so?
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!