1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-30 22:43:14 +03:00

Added hooks for servants, Daniel.

This commit is contained in:
Daniel Veillard
1998-10-08 03:47:24 +00:00
parent 8631b78f5b
commit 278647065b
4 changed files with 13 additions and 2 deletions

2
tree.c
View File

@ -277,6 +277,7 @@ xmlDocPtr xmlNewDoc(const CHAR *version) {
cur->entities = NULL;
cur->standalone = -1;
cur->compression = xmlCompressMode;
cur->servant = NULL;
return(cur);
}
@ -404,6 +405,7 @@ xmlNodePtr xmlNewNode(xmlNsPtr ns, const CHAR *name, CHAR *content) {
cur->name = xmlStrdup(name);
cur->ns = ns;
cur->nsDef = NULL;
cur->servant = NULL;
if (content != NULL)
cur->content = xmlStrdup(content);
else