Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.NET XmlTextWriter inserting unwanted charactors

Status
Not open for further replies.

Stevoie

Programmer
Jun 7, 2001
68
IE
Hi

I am using the .NET System.Xml.XmlTextWriter class to create some xml files. I noticed that there were three extra charactors at the start of the xml file that i had not requested.

They are: [red][/red]

What i need to know is how to stop the XmlTextWriter from writing these out. They are interfering with my SAX parser.

Thanks,

StevoIE
 
Solved it.

just had to change the encoding type to ASCII


Stevoie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top