Allows to store user defined data associated to the node that is not visible from an XML perspective. This function allows to store data associated to the node that is accesible in an inherired fashion that allows to store semantic information while parsing xml documents. This function stores the given key using a hashing storage, associating the data provided on the given node. You can also check the axl_node_annotate_data_full which performs the same task but allowing to provide key and data destroy functions. Once data is stored, it could be inherited by child nodes because the access to it is done using axl_node_annotate_get. Additionally, you can also perform annotation using native types: int, string and double. Check the following functions to do so.
|