tree.h
Estructura xmlAttribute
Una declaración de atributo en una DTD.
Sintaxis
/**
* xmlAttribute:
*
* An Attribute declaration in a DTD.
*/
typedef struct _xmlAttribute xmlAttribute;
typedef xmlAttribute *xmlAttributePtr;
struct _xmlAttribute {
void *_private; /* application data */
xmlElementType type; /* XML_ATTRIBUTE_DECL, must be second ! */
const xmlChar *name; /* Attribute name */
struct _xmlNode *children; /* NULL */
struct _xmlNode *last; /* NULL */
struct _xmlDtd *parent; /* -> DTD */
struct _xmlNode *next; /* next sibling link */
struct _xmlNode *prev; /* previous sibling link */
struct _xmlDoc *doc; /* the containing document */
struct _xmlAttribute *nexth; /* next in hash table */
xmlAttributeType atype; /* The attribute type */
xmlAttributeDefault def; /* the default */
const xmlChar *defaultValue; /* or the default value */
xmlEnumerationPtr tree; /* or the enumeration tree if any */
const xmlChar *prefix; /* the namespace prefix if any */
const xmlChar *elem; /* Element holding the attribute */
};
Miembros
- _private
- Los datos de aplicación
- type
- ¡XML_ATTRIBUTE_DECL, debe ser el segundo!
- name
- Nombre de atributo.
- children
- NULL.
- last
- NULL.
- parent
- -> DTD.
- next
- Siguiente enlace hermano.
- prev
- Enlace hermano anterior.
- doc
- El documento que lo contiene.
- nexth
- Siguiente en la tabla hash.
- atype
- El tipo de atributo.
- def
- El valor por defecto.
- defaultValue
- O el valor por defecto.
- tree
- O el árbol de enumeración si existe.
- prefix
- El prefijo del espacio de nombres, si existe.
- elem
- Elemento que contiene el atributo.