Annotation of XML/HTMLtree.h, revision 1.10

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
1.10    ! veillard   25: #define HTML_PRESERVE_NODE     XML_CDATA_SECTION_NODE
1.1       daniel     26: 
1.8       veillard   27: htmlDocPtr     htmlNewDoc              (const xmlChar *URI,
                     28:                                         const xmlChar *ExternalID);
1.9       veillard   29: htmlDocPtr     htmlNewDocNoDtD         (const xmlChar *URI,
                     30:                                         const xmlChar *ExternalID);
1.8       veillard   31: const xmlChar *        htmlGetMetaEncoding     (htmlDocPtr doc);
                     32: int            htmlSetMetaEncoding     (htmlDocPtr doc,
                     33:                                         const xmlChar *encoding);
                     34: void           htmlDocDumpMemory       (xmlDocPtr cur,
                     35:                                         xmlChar**mem,
                     36:                                         int *size);
                     37: int            htmlDocDump             (FILE *f,
                     38:                                         xmlDocPtr cur);
                     39: int            htmlSaveFile            (const char *filename,
                     40:                                         xmlDocPtr cur);
                     41: void           htmlNodeDump            (xmlBufferPtr buf,
                     42:                                         xmlDocPtr doc,
                     43:                                         xmlNodePtr cur);
                     44: void           htmlNodeDumpFile        (FILE *out,
                     45:                                         xmlDocPtr doc,
                     46:                                         xmlNodePtr cur);
                     47: int            htmlSaveFileEnc         (const char *filename,
                     48:                                         xmlDocPtr cur,
                     49:                                         const char *encoding);
1.1       daniel     50: 
                     51: #ifdef __cplusplus
                     52: }
                     53: #endif
                     54: 
                     55: #endif /* __HTML_TREE_H__ */
                     56: 

Webmaster