Re: [xml] XML schema based validation

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?


Kasimier Buchcik

-------- Original-Nachricht --------
Datum: Thu, 4 Nov 2010 17:09:37 -0400
Von: Emil <eromascanu qualitylogic com>
An: xml gnome org
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
any), etc.


Thx, Emil.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]