Re: [xml] libxml error redirection



On Thu, Apr 27, 2006 at 11:22:01AM -0700, Octavian Afilipoai wrote:
Also, I'm not sure how to register a callback for
parse error(s) and any other kind of errors or
warnings that libxml might generate.

Any ideas and/or code examples are appreciated.

  Register a structured error handler, see xmlSetStructuredErrorFunc
    http://xmlsoft.org/html/libxml-xmlerror.html#xmlSetStructuredErrorFunc

Daniel

-- 
Daniel Veillard      | Red Hat http://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]