Re: [xslt] intercepting xmlFreeNode?

On Thu, Aug 25, 2005 at 07:11:12PM +0400, Oleg A. Paraschenko wrote:
>   Hello,
>   I'm writing an XSLT extension function, which collects pointers to nodes
> for a later use. Unfortunately, sometimes libxslt frees the nodes which
> are collected, so the pointers become corrupted and my program crashes.
>   Is there any way to intercept xmlFreeNode or to notice that the nodes go
> away?

  the later you can register a callback for node destruction:


Daniel Veillard      | Red Hat Desktop team
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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