XML Schema validation in Python

Stefan Behnel stefan_ml at behnel.de
Tue Mar 4 13:37:55 EST 2008


Medhat.Gayed at gmail.com wrote:
> I tested and tried a few XML validators but none of them is able to
> successfully validate a string of xml (not a file just a string) to
> programatically be able to validate messages of xml that flow in and
> out of the different systems.

http://codespeak.net/lxml/tutorial.html#parsing-from-strings-and-files
http://codespeak.net/lxml/validation.html#validation-at-parse-time
http://codespeak.net/lxml/validation.html#xmlschema

Stefan



More information about the Python-list mailing list