tree.h

Estructura xmlDOMWrapCtxt

Sintaxis

typedef struct _xmlDOMWrapCtxt xmlDOMWrapCtxt;
typedef xmlDOMWrapCtxt *xmlDOMWrapCtxtPtr;
/**
 * xmlDOMWrapCtxt:
 *
 * Context for DOM wrapper-operations.
 */
struct _xmlDOMWrapCtxt {
    void * _private;
    /*
    * The type of this context, just in case we need specialized
    * contexts in the future.
    */
    int type;
    /*
    * Internal namespace map used for various operations.
    */
    void * namespaceMap;
    /*
    * Use this one to acquire an xmlNsPtr intended for node->ns.
    * (Note that this is not intended for elem->nsDef).
    */
    xmlDOMWrapAcquireNsFunction getNsForNodeFunc;
};

Miembros

_private
Datos privados de la aplicación.
type
El tipo de este contexto, por si necesitamos contextos especializados en el futuro.
namespaceMap
Mapa interno del espacio con nombre utilizado para diversas operaciones.
getNsForNodeFunc
Utilizar para adquirir un xmlNsPtr destinado a node->ns. (Tener en cuenta que no está destinado a elem->nsDef).