I am using XML to store a small contact list and trying to write a XSL template that will transform it into a CSV file. The problem I am having is with whitespace in the out
Modify the code which we used to format raw xml file by removing below lines will remove extra blank white spaces added in exported excel.
While formatting with indented property system is adding those extra blank white spaces.
Comment lines related to formatting xml like below line and try.
xmlWriter.Formatting = System.Xml.Formatting.Indented;