tags:

views:

78

answers:

2

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

+2  A: 

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.

Dathan
+2  A: 

libxml2 is portable, pure C and implements XML Schema. It is also open-source (MIT license) and has an active developer community.

Phil Booth