Re: XmlTextWriter.WriteString and quoted chars
Rune Christensen 8397 <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.general |
|---|---|
| Message-ID | <D0F4ADC6C7AB11409F754D48A60FB69DD0F9EE@mail-byporten.rubicon.local> |
What about writing "&"? - will be replaced with "&" -----Original Message----- From: Sam Gentile [mailto:[email protected]] Sent: 13. juni 2002 17:06 To: [email protected] Subject: [DOTNET] XmlTextWriter.WriteString and quoted chars 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? --------------------- 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/ --------------------------- _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.