mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-23 01:52:48 +03:00
Added xmlDOMWrapReconcileNamespaces(), xmlDOMWrapAdoptNode() and
* tree.c include/libxml/tree.h: Added xmlDOMWrapReconcileNamespaces(), xmlDOMWrapAdoptNode() and xmlDOMWrapRemoveNode() to the API. These are functions intended to be used with DOM-wrappers.
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
Mon Jun 27 12:24:54 CEST 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
|
||||||
|
|
||||||
|
* tree.c include/libxml/tree.h: Added
|
||||||
|
xmlDOMWrapReconcileNamespaces(), xmlDOMWrapAdoptNode() and
|
||||||
|
xmlDOMWrapRemoveNode() to the API. These are functions intended
|
||||||
|
to be used with DOM-wrappers.
|
||||||
|
|
||||||
Mon Jun 27 10:14:57 CEST 2005 Daniel Veillard <daniel@veillard.com>
|
Mon Jun 27 10:14:57 CEST 2005 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
* runtest.c: continue to increase the tests
|
* runtest.c: continue to increase the tests
|
||||||
|
@@ -250,7 +250,6 @@ typedef enum {
|
|||||||
XML_ELEMENT_TYPE_ELEMENT
|
XML_ELEMENT_TYPE_ELEMENT
|
||||||
} xmlElementTypeVal;
|
} xmlElementTypeVal;
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@@ -509,6 +508,12 @@ struct _xmlDoc {
|
|||||||
void *psvi; /* for type/PSVI informations */
|
void *psvi; /* for type/PSVI informations */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
typedef struct _xmlDOMWrapCtxt xmlDOMWrapCtxt;
|
||||||
|
typedef xmlDOMWrapCtxt *xmlDOMWrapCtxtPtr;
|
||||||
|
struct _xmlDOMWrapCtxt {
|
||||||
|
void * _private;
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* xmlChildrenNode:
|
* xmlChildrenNode:
|
||||||
*
|
*
|
||||||
@@ -1114,6 +1119,26 @@ XMLPUBFUN int XMLCALL
|
|||||||
XMLPUBFUN void XMLCALL
|
XMLPUBFUN void XMLCALL
|
||||||
xmlSetCompressMode (int mode);
|
xmlSetCompressMode (int mode);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* DOM-wrapper helper functions.
|
||||||
|
*/
|
||||||
|
XMLPUBFUN int XMLCALL
|
||||||
|
xmlDOMWrapReconcileNamespaces(xmlDOMWrapCtxtPtr ctxt,
|
||||||
|
xmlNodePtr elem,
|
||||||
|
int options);
|
||||||
|
XMLPUBFUN int XMLCALL
|
||||||
|
xmlDOMWrapAdoptNode (xmlDOMWrapCtxtPtr ctxt,
|
||||||
|
xmlDocPtr sourceDoc,
|
||||||
|
xmlNodePtr node,
|
||||||
|
xmlDocPtr destDoc,
|
||||||
|
xmlNodePtr destParent,
|
||||||
|
int options);
|
||||||
|
XMLPUBFUN int XMLCALL
|
||||||
|
xmlDOMWrapRemoveNode (xmlDOMWrapCtxtPtr ctxt,
|
||||||
|
xmlDocPtr doc,
|
||||||
|
xmlNodePtr node,
|
||||||
|
int options);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user