version 1.15, 1999/12/29 12:47:07
|
version 1.16, 2000/02/03 14:58:46
|
Line 266 htmlNodeDump(xmlBufferPtr buf, xmlDocPtr
|
Line 266 htmlNodeDump(xmlBufferPtr buf, xmlDocPtr
|
} |
} |
|
|
/** |
/** |
|
* 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: |
* htmlDocContentDump: |
* @buf: the HTML buffer output |
* @buf: the HTML buffer output |
* @cur: the document |
* @cur: the document |