Re: XmlTextWriter.WriteString and quoted chars
Sam Gentile <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.general |
|---|---|
| Message-ID | <[email protected]> |
BTW, "Ok that's it" meant that was the answer. It now works. Thank you. >From: Sam Gentile <[email protected]> >Reply-To: The DOTNET list will be retired 7/1/02 ><[email protected]> >To: [email protected] >Subject: Re: [DOTNET] XmlTextWriter.WriteString and quoted chars >Date: Thu, 13 Jun 2002 11:38:42 -0400 > >Ok that's it. I'm sorry for the stupid question. I don't know much about >this area. > > >>From: Chris Anderson <[email protected]> >>Reply-To: The DOTNET list will be retired 7/1/02 >><[email protected]> >>To: [email protected] >>Subject: Re: [DOTNET] XmlTextWriter.WriteString and quoted chars >>Date: Thu, 13 Jun 2002 16:09:29 +0100 >> >>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. > > > > >--------------------- >Sam Gentile >.NET Consultant >Co-author: Wrox Visual C++ .NET: A primer for C++ developers >BLOG: http://radio.weblogs.com/0105852/ >http://www.project-inspiration.com/sgentile/DotNet.htm >http://www.project-inspiration.com/sgentile/ >--------------------------- > > > > >_________________________________________________________________ >Join the worlds largest e-mail service with MSN Hotmail. >http://www.hotmail.com > >You can read messages from the DOTNET archive, unsubscribe from DOTNET, or >subscribe to other DevelopMentor lists at http://discuss.develop.com. --------------------- Sam Gentile .NET Consultant Co-author: Wrox Visual C++ .NET: A primer for C++ developers BLOG: http://radio.weblogs.com/0105852/ http://www.project-inspiration.com/sgentile/DotNet.htm http://www.project-inspiration.com/sgentile/ --------------------------- _________________________________________________________________ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.