开发者

Validate an Xml file with DTD in C

开发者 https://www.devze.com 2023-04-12 04:51 出处:网络
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.I

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

精彩评论

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