[lxml-dev] help for uses debugging XSLT

Stefan Behnel stefan_ml at behnel.de
Wed Feb 21 17:49:43 CET 2007


Hi,

Dennis Allison wrote:
> When an error occurs, the traceback if for the lxml program detecting it. 
> 
> The traceback is not very useful when the error is with the XML and/or XSL
> data.  Is there a good way to grab the data context in which the error
> occured.

Does the respective section in the docs help you?

http://codespeak.net/lxml/dev/api.html#error-handling-on-exceptions

Stefan


More information about the lxml-dev mailing list