What do you mean by escape them?  Do you need them URLEncoded or
HtmlEncoded?

Thanks,

Shawn Wildermuth
[EMAIL PROTECTED]

> -----Original Message-----
> From: The DOTNET list will be retired 7/1/02
> [mailto:[EMAIL PROTECTED]] On Behalf Of Sam Gentile
> Sent: Thursday, June 13, 2002 11:06 AM
> 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 &amp;, &lt;, and
> &gt;, respectively. So I get &amp;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.

Reply via email to