开发者

Validate an Xml file with DTD in C

Hi C开发者_运维问答an anybody tell me how to validate an XML file in c using DTD. I found answers in JAVA but I need the code in C.


You could use libxml2, which can optionally validate against a DTD. It also provides several ways of working with XML data. On Linux, it's usually already installed, with development packages available through your package manager -- though the library is not Linux-specific.


If you are using C++, Xerces is a very good library. Powerful, easy to use. http://xerces.apache.org/xerces-c/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜