C# escape function in XML ????

  • Thread starter Thread starter genc_ ymeri at hotmail dot com
  • Start date Start date
G

genc_ ymeri at hotmail dot com

Hi ,
Does .Net have any method/function that escape charcters while writing a XML
file ????

Thank you in advance.
 
genc_ ymeri at hotmail dot com said:
Hi ,
Does .Net have any method/function that escape charcters while writing a XML
file ????

Thank you in advance.

Use the XmlDocument or XmlTextWriter components to create your XML
document. They will automatically escape the chars for you.

Lowell
 
oh, that's even better :) :)


thnx

Lowell Heddings said:
Use the XmlDocument or XmlTextWriter components to create your XML
document. They will automatically escape the chars for you.

Lowell
 

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