[lxml-dev] relaxNQ errors
Stefan Behnel
stefan_ml at behnel.de
Mon May 7 22:19:41 CEST 2007
Hi,
Curtis Scheer wrote:
> New to the lxml library so forgive me if I missed this in the
> documentation, I am trying to validate an xml file against RelaxNG. The
> function relaxing() appears to only returned a 1 or 0 based on whether
> it is valid. Is there a way I can get the specific error as to why it
> failed?
Please refer to the in in-development docs of lxml, they are much easier to read.
http://codespeak.net/lxml/dev/validation.html
Hope it helps,
Stefan
More information about the lxml-dev
mailing list