Re: [xslt] python xslt messages



On Fri, Apr 12, 2002 at 07:25:32AM -0400, Sam Brauer wrote:
> On Fri, 12 Apr 2002, Daniel Veillard wrote:
> >   Have you tried 
> >     libxml2.registerErrorHandler(your_function, your_context) ?
> > 
> > Generating exceptions would need to build a bit more Python glue around
> > the existing wrappers to check the error code and raise an exception 
> > if detected.
> 
> I haven't tried that, but I will :)
> So that handles errors generated by libxslt too?

  I would expect so, if not I either need to fix some code or add
a specific error handler.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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