1 * Summary: specific APIs to process HTML tree, especially serialization
2 * Description: this module implements a few function needed to process
3 * tree in an HTML specific way.
5 * Copy: See Copyright for the status of this software.
7 * Author: Patrick Monnerat <pm@datasphere.ch>, DATASPHERE S.A.
9 /if not defined(HTML_TREE_H__)
12 /include "libxmlrpg/xmlversion"
14 /if defined(LIBXML_HTML_ENABLED)
16 /include "libxmlrpg/xmlTypesC"
17 /include "libxmlrpg/tree"
18 /include "libxmlrpg/HTMLparser"
22 * Macro. A text node in a HTML document is really implemented
23 * the same way as a text node in an XML document.
27 * HTML_ENTITY_REF_NODE:
29 * Macro. An entity reference in a HTML document is really implemented
30 * the same way as an entity reference in an XML document.
32 d HTML_ENTITY_REF_NODE...
37 * Macro. A comment in a HTML document is really implemented
38 * the same way as a comment in an XML document.
40 d HTML_COMMENT_NODE...
45 * Macro. A preserved node in a HTML document is really implemented
46 * the same way as a CDATA section in an XML document.
48 d HTML_PRESERVE_NODE...
53 * Macro. A processing instruction in a HTML document is really implemented
54 * the same way as a processing instruction in an XML document.
58 d htmlNewDoc pr extproc('htmlNewDoc')
60 d URI * value options(*string) const xmlChar *
61 d ExternalID * value options(*string) const xmlChar *
64 d pr extproc('htmlNewDocNoDtD')
66 d URI * value options(*string) const xmlChar *
67 d ExternalID * value options(*string) const xmlChar *
69 d htmlGetMetaEncoding...
70 d pr * extproc('htmlGetMetaEncoding') const xmlChar *
71 d doc value like(htmlDocPtr)
73 d htmlSetMetaEncoding...
74 d pr extproc('htmlSetMetaEncoding')
76 d doc value like(htmlDocPtr)
77 d encoding * value options(*string) const xmlChar *
79 /if defined(LIBXML_OUTPUT_ENABLED)
80 d htmlDocDumpMemory...
81 d pr extproc('htmlDocDumpMemory')
82 d cur value like(xmlDocPtr)
83 d mem * value xmlChar * *
86 d htmlDocDumpMemoryFormat...
87 d pr extproc('htmlDocDumpMemoryFormat')
88 d cur value like(xmlDocPtr)
89 d mem * value xmlChar * *
91 d format value like(xmlCint)
93 d htmlDocDump pr extproc('htmlDocDump')
96 d cur value like(xmlDocPtr)
98 d htmlSaveFile pr extproc('htmlSaveFile')
100 d filename * value options(*string) const char *
101 d cur value like(xmlDocPtr)
103 d htmlNodeDump pr extproc('htmlNodeDump')
105 d buf value like(xmlBufferPtr)
106 d doc value like(xmlDocPtr)
107 d cur value like(xmlNodePtr)
109 d htmlNodeDumpFile...
110 d pr extproc('htmlNodeDumpFile')
112 d doc value like(xmlDocPtr)
113 d cur value like(xmlNodePtr)
115 d htmlNodeDumpFileFormat...
116 d pr extproc('htmlNodeDumpFileFormat')
119 d doc value like(xmlDocPtr)
120 d cur value like(xmlNodePtr)
121 d encoding * value options(*string) const char *
122 d format value like(xmlCint)
125 d pr extproc('htmlSaveFileEnc')
127 d filename * value options(*string) const char *
128 d cur value like(xmlDocPtr)
129 d encoding * value options(*string) const char *
131 d htmlSaveFileFormat...
132 d pr extproc('htmlSaveFileFormat')
134 d filename * value options(*string) const char *
135 d cur value like(xmlDocPtr)
136 d encoding * value options(*string) const char *
137 d format value like(xmlCint)
139 d htmlNodeDumpFormatOutput...
140 d pr extproc('htmlNodeDumpFormatOutput')
141 d buf value like(xmlOutputBufferPtr)
142 d doc value like(xmlDocPtr)
143 d cur value like(xmlNodePtr)
144 d encoding * value options(*string) const char *
145 d format value like(xmlCint)
147 d htmlDocContentDumpOutput...
148 d pr extproc('htmlDocContentDumpOutput')
149 d buf value like(xmlOutputBufferPtr)
150 d cur value like(xmlDocPtr)
151 d encoding * value options(*string) const char *
153 d htmlDocContentDumpFormatOutput...
155 d 'htmlDocContentDumpFormatOutput')
156 d buf value like(xmlOutputBufferPtr)
157 d cur value like(xmlDocPtr)
158 d encoding * value options(*string) const char *
159 d format value like(xmlCint)
161 d htmlNodeDumpOutput...
162 d pr extproc('htmlNodeDumpOutput')
163 d buf value like(xmlOutputBufferPtr)
164 d doc value like(xmlDocPtr)
165 d cur value like(xmlNodePtr)
166 d encoding * value options(*string) const char *
168 /endif LIBXML_OUTPUT_ENABLD
170 d htmlIsBooleanAttr...
171 d pr extproc('htmlIsBooleanAttr')
173 d name * value options(*string) const xmlChar *
175 /endif LIBXML_HTML_ENABLED