Hi Emil, Daniel has written a small XML Schema test app. You'll find the code in testSchemas.c in the Libxml2 repository. Does this answer your question?
Regards Kasimier Buchcik -------- Original-Nachricht -------- > Datum: Thu, 4 Nov 2010 17:09:37 -0400 > Von: Emil <[email protected]> > An: [email protected] > Betreff: [xml] XML schema based validation > Hi Daniel, > > > > I wonder whether you have an example to illustrate how to perform a > schema-based-validation of a .XML file that should comply to its .XSD > schema. The example should show how to create a schema validation context > (or something like that, which should load the schema file), then how to > load the .XML file and validate it, how to return the validation errors > (if > any), etc. > > > > Thx, Emil. > _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
