Reputation: 19608
See question. Also any links to example code or example code on how to validate an xml file against multiple schemas would be helpful.
EDT: Sorry forgot to mention that this is for LINUX
Upvotes: 3
Views: 2406
Reputation: 4897
libxml2 is portable, pure C and implements XML Schema. It is also open-source (MIT license) and has an active developer community.
Upvotes: 4
Reputation: 7456
If you're targeting Windows platforms, you can use MSXML, but your use case has to allow COM.
EDIT: Apache has an open-source XML library called Xerces-C++ that supports schema validation. It's not C-compatible, but if you can get away with using C++, it should do what you need.
Upvotes: 2