1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-28 00:21:53 +03:00

- Removing warnings on various paltforms

- closing bug #5281
Daniel
This commit is contained in:
Daniel Veillard
2000-02-02 17:15:36 +00:00
parent f341f93011
commit 5feb8495f4
9 changed files with 48 additions and 6 deletions

View File

@ -265,6 +265,25 @@ htmlNodeDump(xmlBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur) {
}
}
/**
* htmlNodeDumpFile:
* @out: the FILE pointer
* @doc: the document
* @cur: the current node
*
* Dump an HTML node, recursive behaviour,children are printed too.
*/
void
htmlNodeDumpFile(FILE *out, xmlDocPtr doc, xmlNodePtr cur) {
xmlBufferPtr buf;
buf = xmlBufferCreate();
if (buf == NULL) return;
htmlNodeDump(buf, doc, cur);
xmlBufferDump(out, buf);
xmlBufferFree(buf);
}
/**
* htmlDocContentDump:
* @buf: the HTML buffer output