summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2001-05-11 17:41:21 +0000
committerDaniel Veillard <veillard@src.gnome.org>2001-05-11 17:41:21 +0000
commit75bea5480ea4bb12b65f6e98438f7f755ebf9ae7 (patch)
tree1b3cad214c133837eaf4ba228593006b938e4429 /include
parent0a2a163d2e5ccce6dadc0886b16382655260f8ef (diff)
downloadlibxml2-75bea5480ea4bb12b65f6e98438f7f755ebf9ae7.tar.gz
- tree.[ch]: fixing bug #54446, by cleaning some bugs in the
attributes handling and #54433 by adding xmlUnsetProp() and xmlUnsetNsProp() Daniel
Diffstat (limited to 'include')
-rw-r--r--include/libxml/tree.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/libxml/tree.h b/include/libxml/tree.h
index 604f8811..841fef1b 100644
--- a/include/libxml/tree.h
+++ b/include/libxml/tree.h
@@ -584,6 +584,8 @@ xmlAttrPtr xmlSetProp (xmlNodePtr node,
const xmlChar *value);
xmlChar * xmlGetProp (xmlNodePtr node,
const xmlChar *name);
+int xmlUnsetProp (xmlNodePtr node,
+ const xmlChar *name);
xmlAttrPtr xmlHasProp (xmlNodePtr node,
const xmlChar *name);
xmlAttrPtr xmlSetNsProp (xmlNodePtr node,
@@ -593,6 +595,9 @@ xmlAttrPtr xmlSetNsProp (xmlNodePtr node,
xmlChar * xmlGetNsProp (xmlNodePtr node,
const xmlChar *name,
const xmlChar *nameSpace);
+int xmlUnsetNsProp (xmlNodePtr node,
+ xmlNsPtr ns,
+ const xmlChar *name);
xmlNodePtr xmlStringGetNodeList (xmlDocPtr doc,
const xmlChar *value);
xmlNodePtr xmlStringLenGetNodeList (xmlDocPtr doc,