Annotation of win32/gnome/gnome-xml/include/libxml/HTMLtree.h, revision 1.1

1.1     ! paf         1: /*
        !             2:  * HTMLtree.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.com
        !             8:  */
        !             9: 
        !            10: #ifndef __HTML_TREE_H__
        !            11: #define __HTML_TREE_H__
        !            12: 
        !            13: #include <stdio.h>
        !            14: #include <libxml/tree.h>
        !            15: #include <libxml/HTMLparser.h>
        !            16: 
        !            17: 
        !            18: #ifdef __cplusplus
        !            19: extern "C" {
        !            20: #endif
        !            21: 
        !            22: 
        !            23: /**
        !            24:  * HTML_TEXT_NODE:
        !            25:  *
        !            26:  * Macro. A text node in a HTML document is really implemented
        !            27:  * the same way as a text node in an XML document.
        !            28:  */
        !            29: #define HTML_TEXT_NODE         XML_TEXT_NODE
        !            30: /**
        !            31:  * HTML_ENTITY_REF_NODE:
        !            32:  *
        !            33:  * Macro. An entity reference in a HTML document is really implemented
        !            34:  * the same way as an entity reference in an XML document.
        !            35:  */
        !            36: #define HTML_ENTITY_REF_NODE   XML_ENTITY_REF_NODE
        !            37: /**
        !            38:  * HTML_COMMENT_NODE:
        !            39:  *
        !            40:  * Macro. A comment in a HTML document is really implemented
        !            41:  * the same way as a comment in an XML document.
        !            42:  */
        !            43: #define HTML_COMMENT_NODE      XML_COMMENT_NODE
        !            44: /**
        !            45:  * HTML_PRESERVE_NODE:
        !            46:  *
        !            47:  * Macro. A preserved node in a HTML document is really implemented
        !            48:  * the same way as a CDATA section in an XML document.
        !            49:  */
        !            50: #define HTML_PRESERVE_NODE     XML_CDATA_SECTION_NODE
        !            51: /**
        !            52:  * HTML_PI_NODE:
        !            53:  *
        !            54:  * Macro. A processing instruction in a HTML document is really implemented
        !            55:  * the same way as a processing instruction in an XML document.
        !            56:  */
        !            57: #define HTML_PI_NODE           XML_PI_NODE
        !            58: 
        !            59: htmlDocPtr     htmlNewDoc              (const xmlChar *URI,
        !            60:                                         const xmlChar *ExternalID);
        !            61: htmlDocPtr     htmlNewDocNoDtD         (const xmlChar *URI,
        !            62:                                         const xmlChar *ExternalID);
        !            63: const xmlChar *        htmlGetMetaEncoding     (htmlDocPtr doc);
        !            64: int            htmlSetMetaEncoding     (htmlDocPtr doc,
        !            65:                                         const xmlChar *encoding);
        !            66: void           htmlDocDumpMemory       (xmlDocPtr cur,
        !            67:                                         xmlChar **mem,
        !            68:                                         int *size);
        !            69: int            htmlDocDump             (FILE *f,
        !            70:                                         xmlDocPtr cur);
        !            71: int            htmlSaveFile            (const char *filename,
        !            72:                                         xmlDocPtr cur);
        !            73: int            htmlNodeDump            (xmlBufferPtr buf,
        !            74:                                         xmlDocPtr doc,
        !            75:                                         xmlNodePtr cur);
        !            76: void           htmlNodeDumpFile        (FILE *out,
        !            77:                                         xmlDocPtr doc,
        !            78:                                         xmlNodePtr cur);
        !            79: int            htmlNodeDumpFileFormat  (FILE *out,
        !            80:                                         xmlDocPtr doc,
        !            81:                                         xmlNodePtr cur,
        !            82:                                         const char *encoding,
        !            83:                                         int format);
        !            84: int            htmlSaveFileEnc         (const char *filename,
        !            85:                                         xmlDocPtr cur,
        !            86:                                         const char *encoding);
        !            87: int            htmlSaveFileFormat      (const char *filename,
        !            88:                                         xmlDocPtr cur,
        !            89:                                         const char *encoding,
        !            90:                                         int format);
        !            91: 
        !            92: void           htmlNodeDumpFormatOutput(xmlOutputBufferPtr buf,
        !            93:                                         xmlDocPtr doc,
        !            94:                                         xmlNodePtr cur,
        !            95:                                         const char *encoding,
        !            96:                                         int format);
        !            97: void           htmlDocContentDumpOutput(xmlOutputBufferPtr buf,
        !            98:                                         xmlDocPtr cur,
        !            99:                                         const char *encoding);
        !           100: void           htmlDocContentDumpFormatOutput(xmlOutputBufferPtr buf,
        !           101:                                         xmlDocPtr cur,
        !           102:                                         const char *encoding,
        !           103:                                         int format);
        !           104: 
        !           105: int            htmlIsBooleanAttr       (const xmlChar *name);
        !           106: void htmlNodeDumpOutput(xmlOutputBufferPtr buf, xmlDocPtr doc,
        !           107:                        xmlNodePtr cur, const char *encoding);
        !           108: 
        !           109: 
        !           110: 
        !           111: 
        !           112: #ifdef __cplusplus
        !           113: }
        !           114: #endif
        !           115: 
        !           116: #endif /* __HTML_TREE_H__ */
        !           117: 

E-mail: