开发者

XML validator library

I'm using XML in my appli开发者_如何学Pythoncation with some own XML-parser (from ClanLib library).

The problem : that parser can't validate XML and it fails if any mistakes are presented. I need some validator which will say if the XML is valid and (preferable) show the error.


Xerces-C++ can validate XML using DTD and XSD. Syntax is also validated.


In Windows, You can use MSXML to validate an XML.

See http://msdn.microsoft.com/en-us/library/ms763742.aspx

The validate method is described here.

From C++, You'll have to use COM.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜