ASP.net XML Encoding

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I am using Resposne.write to write xml to a web page. Because of some
special characters, I am getting 'White space not allowed....'.

How can I encode the xml so that when a client calls the page through
classic ASP using MSXML.ServerXMLHTTP, it does not break.

Any help?
 
dotnettester,

Have you tried Server.HtmlEncode to see what the results are?

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top