tree.h
Estructura xmlNs
Un espacio con nombre XML.
Hay que tener en cuenta que prefix == NULL es válido, define el espacio con nombre por defecto dentro del subárbol (hasta que se anule).
xmlNsType está unificado con xmlElementType.
Sintaxis
/**
* xmlNs:
*
* An XML namespace.
* Note that prefix == NULL is valid, it defines the default namespace
* within the subtree (until overridden).
*
* xmlNsType is unified with xmlElementType.
*/
typedef struct _xmlNs xmlNs;
typedef xmlNs *xmlNsPtr;
struct _xmlNs {
struct _xmlNs *next; /* next Ns link for this node */
xmlNsType type; /* global or local */
const xmlChar *href; /* URL for the namespace */
const xmlChar *prefix; /* prefix for the namespace */
void *_private; /* application data */
struct _xmlDoc *context; /* normally an xmlDoc */
};
Miembros
- next
- Siguiente enlace Ns para este nodo.
- type
- Global o local.
- href
- URL del espacio de nombres.
- prefix
- Prefijo para el espacio de nombres.
- _private
- Datos de la aplicación.
- context
- Normalmente un xmlDoc.