Annotation of XML/HTMLtree.h, revision 1.6
1.1 daniel 1: /*
2: * tree.h : describes the structures found in an tree resulting
3: * from an XML parsing.
4: *
5: * See Copyright for the status of this software.
6: *
7: * Daniel.Veillard@w3.org
8: */
9:
10: #ifndef __HTML_TREE_H__
11: #define __HTML_TREE_H__
12:
1.3 daniel 13: #include <stdio.h>
1.5 daniel 14: #include <libxml/tree.h>
1.6 ! daniel 15: #include <libxml/HTMLparser.h>
1.3 daniel 16:
1.1 daniel 17:
18: #ifdef __cplusplus
19: extern "C" {
20: #endif
21:
22: #define HTML_TEXT_NODE XML_TEXT_NODE
23: #define HTML_ENTITY_REF_NODE XML_ENTITY_REF_NODE
24: #define HTML_COMMENT_NODE XML_COMMENT_NODE
25:
1.2 daniel 26: void htmlDocDumpMemory(xmlDocPtr cur, xmlChar**mem, int *size);
1.1 daniel 27: void htmlDocDump(FILE *f, xmlDocPtr cur);
28: int htmlSaveFile(const char *filename, xmlDocPtr cur);
1.4 daniel 29: void htmlNodeDump(xmlBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur);
30: void htmlNodeDumpFile(FILE *out, xmlDocPtr doc, xmlNodePtr cur);
1.6 ! daniel 31: htmlDocPtr htmlNewDoc(const xmlChar *URI, const xmlChar *ExternalID);
1.1 daniel 32:
33: #ifdef __cplusplus
34: }
35: #endif
36:
37: #endif /* __HTML_TREE_H__ */
38:
Webmaster