XML escape character (&) in writing web services.
Posted on 2008-06-12
Suppose I'm writing a web service:
Currently, a client calling the service will get the result string as (If saving the result string as result.xml and opened in XML browser):
Company & Country
instead of Company & Country.
Do I need to write a line at the end of the service something like this:
What is the best way to deal with the 5 XML escape characters in designing my web services so that my service can be consumed without problems for the web services clients with different platforms?