tree.h
Estructura xmlAttr
Atributo de un nodo XML.
Sintaxis
/**
* xmlAttr:
*
* An attribute on an XML node.
*/
typedef struct _xmlAttr xmlAttr;
typedef xmlAttr *xmlAttrPtr;
struct _xmlAttr {
void *_private; /* application data */
xmlElementType type; /* XML_ATTRIBUTE_NODE, must be second ! */
const xmlChar *name; /* the name of the property */
struct _xmlNode *children; /* the value of the property */
struct _xmlNode *last; /* NULL */
struct _xmlNode *parent; /* child->parent link */
struct _xmlAttr *next; /* next sibling link */
struct _xmlAttr *prev; /* previous sibling link */
struct _xmlDoc *doc; /* the containing document */
xmlNs *ns; /* pointer to the associated namespace */
xmlAttributeType atype; /* the attribute type if validating */
void *psvi; /* for type/PSVI informations */
};
Miembros
- _private
- Datos de la aplicación
- type
- XML_ATTRIBUTE_NODE, ¡debe ser el segundo!
- name
- El nombre de la propiedad.
- children
- El valor de la propiedad.
- last
- NULL.
- parent
- Enlace hijo->padre.
- next
- Siguiente enlace entre hermanos.
- prev
- Enlace hermano anterior.
- doc
- El documento contenedor.
- ns
- Puntero al espacio con nombre asociado.
- atype
- El tipo de atributo si se está validando.
- psvi
- Para información de tipo/PSVI.