开发者

XmlDocument, and special ISO Latin characters

I'm trying to load up xml into an XmlDocument, but it doesn't recognize the encoded '&eacute' and throws an error 'An error occurred while parsing Entity Name'. Now I can add a custom entity set in a DTD of my xml, so the XmlDocument loads properly. But what I'm hoping is that I can reference a url that has a common set of these ISO Latin encoded characters. Is this possible, or do I need to inject a cu开发者_开发百科stom list of DTD sets?


ISO/IEC 8859-1?

EDIT: To be more complete: there are no default URI to entiry ISO 8859 charset, so you'll need to create a custom DTD file to load that character entities.


Maybe it requires the closing ; ?

é

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜