Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Escaping Special Characters >Thread Next - Re: Escaping Special Characters Re: Escaping Special CharactersTo: NULL Date: 7/3/2005 12:14:00 PM "Biju Varughese" <BijuVarughese@d...> wrote in message news:A2672DD1-06F0-49B5-B038-869DF959F2BA@m...... > Hello: > > I am working on an XML feed for news items. I have noticed that the > generated XML file returns error if there are any special characters in the > data. Eg: ampersand, latin charcters, french characters etc. In many of the > cases I am mannually replacing these charcters with the corresponding hexa > values. Could any one suggest a permanent solution for this. Could you please > provide me some links which gives more information on this. > > Regards, > > Biju M Varughese If you create you feed using a standard parser then this escaping will be taken care of automatically. If you build it up as a string then you'll need to escape the special characters by hand. There are only five > escaped as &-g-t-; < escaped as &-l-t-; ' escaped as&-a-p-o-s-; " escaped as &-q-u-o-t-; & escaped as &-a-m-p-; (remove the hyphens before use) -- Joe (MVP - XML) https://mvp.support.microsoft.com/profile=8AA9D5F5-E1C2-44C7-BCE8-8741D22D17A5 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
