From: Daniel Veillard (Daniel.Veillard@w3.org)
Date: Wed Oct 25 2000 - 03:27:54 EDT
On Wed, Oct 25, 2000 at 09:07:11AM +0200, Luca Padovani wrote:
>
> Hi,
> is there a clean way to attach a pointer to a C data structure in a XML
> node?
> Alternatively, which is the best way to annotate nodes (in central
> memory) with further information?
> Regards,
All common nodes structures have a first unused pointer _private .
Its purpose is specifically to allow the application to attach information
to libxml tree. It is compiled in by default (unless one explicitely
added --disable-corba at configure time). libxml never touch that field.
Daniel
-- Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes | libxml Gnome XML toolkit Tel : +33 476 615 257 | 655, avenue de l'Europe | http://xmlsoft.org/ Fax : +33 476 615 207 | 38330 Montbonnot FRANCE | Rpmfind search site http://www.w3.org/People/all#veillard%40w3.org | http://rpmfind.net/ ---- Message from the list xml@rpmfind.net Archived at : http://xmlsoft.org/messages/ to unsubscribe: echo "unsubscribe xml" | mail majordomo@rpmfind.net
This archive was generated by hypermail 2b29 : Wed Oct 25 2000 - 03:43:54 EDT