Hi Bob,
I tried asking this a week ago, and I must not have done a good job of framing my question, so let's try again (I'll try asking my questions in German if you tell me that it will increase the chances of getting a reply).
(I thought the question perfectly fine but can't really give much help on the topic...)
How do I get the schema validator to give me a reference to the element where an error was found?
I'm no authority on this but I think that currently there's no possibility in lxml for programmatically getting at the node that triggered a validation error. Judging from the struct _xmlError definition, in principle there's libxml2 support for getting node information with an error. Don't know if this is provided for validation errors, though: http://www.xmlsoft.org/html/libxml-xmlerror.html#xmlError You might want to take a look at https://github.com/lxml/lxml/blob/master/src/lxml/xmlerror.pxi if you want tackle how lxml deals with the libxml2 error information. Holger Landesbank Baden-Wuerttemberg Anstalt des oeffentlichen Rechts Hauptsitze: Stuttgart, Karlsruhe, Mannheim, Mainz HRA 12704 Amtsgericht Stuttgart