$Id: attr.html,v 1.9 1999/07/24 22:04:04 francis Exp $
An attribute is represented
in the API
by the datatype doxml_attribute
. Its definition is as follows:
struct doxml_attribute_tag; typedef struct doxml_attribute_tag doxml_attribute; struct doxml_attribute_tag { const char* namespace; const char* name; const char* value; doxml_attribute* next; doxml_attribute* prev; };
The contents of the attribute itself are in the triple
(namespace, name, value)
. (Note that
namespace
may be
NULL.) next
and prev
point to the next and
previous attributes of the containing element.