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:

  http://xmlsoft.org/html/libxml-globals.html#xmlDeregisterNodeDefault

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
[EMAIL PROTECTED]  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
_______________________________________________
xslt mailing list, project page http://xmlsoft.org/XSLT/
[email protected]
http://mail.gnome.org/mailman/listinfo/xslt

Reply via email to