Why not write "&", and let the parser do it's job and convert it to "&" ?
:-) Merak > -----Original Message----- > From: Sam Gentile [mailto:[EMAIL PROTECTED]] > > This is a pretty simple question but I want to be able to > write out "&" as part of an Xml string. The doc says: > WriteString does the following > > The characters &, <, and > are replaced with &, <, and > >, respectively. So I get &amp. > > How can I escape the characters? You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.