yes the xml is well formed. it's opening in ie without any issue. i think the method i use to write xml is giving the issue.
i try to use xmlWriter and check. thanks for the reply. Rgds Rifky On Tue, Jun 29, 2010 at 7:36 PM, Cerebrus <[email protected]> wrote: > Have you confirmed that the XML is "well-formed" ? > > If so, then the problem would lie at the end when the XML is read. Any > way of reading XML should be able to ignore whitespace. > > If not, then the problem is in the way you write XML. The recommended > way is to use an XmlWriter. > > On Jun 29, 4:28 pm, Rifky Rafeethu <[email protected]> wrote: > > Hi all, > > > > in my project i need to write data into xml file, i'm using a > StringBuilder > > object and use the appendLine method to write details with xml tags. > > > > but when import the xml into another system it gives an error saying the > xml > > containes white spaces. now how to get rid of white spaces. > > > > or am i using a wrong way to write xml files. by the way i'm developing > in > > vb.net 2008 > > > > thanks in advance > > > > Rifky >
