juli jul wrote:
How can I read xml file but ignore the empty lines in it : is there some
kind of function in C# that can read everything except for the empty
lines?
That depends where that empty line is - if it's between tags, it can be
ignored, if in text - not. Take a look at
XmlTextReader.WhitespaceHandling property if you are taking about
XmlTextReader.
--
Oleg Tkachenko [XML MVP, MCP]
http://blog.tkachenko.com