I know this is very simple question but i am brain dead right about now. :)

my function is returning a string and i will like to save that value as XML
document.

I am successfully saving the document but it's saving it is:
<?xml version="1.0" ?> etc. I am using following code to write a xml
document:

  Dim myXmlTextWriter As XmlTextWriter = New XmlTextWriter
("d:\qb\output.xml", Nothing)
 myXmlTextWriter.WriteString(responseString)
 myXmlTextWriter.Flush()
 myXmlTextWriter.Close()

thanks for help.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to