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"
13 /include "libxmlrpg/tree"
14 /include "libxmlrpg/HTMLparser"
16 /if defined(LIBXML_HTML_ENABLED)
20 * Macro. A text node in a HTML document is really implemented
21 * the same way as a text node in an XML document.
25 * HTML_ENTITY_REF_NODE:
27 * Macro. An entity reference in a HTML document is really implemented
28 * the same way as an entity reference in an XML document.
30 d HTML_ENTITY_REF_NODE...
35 * Macro. A comment in a HTML document is really implemented
36 * the same way as a comment in an XML document.
38 d HTML_COMMENT_NODE...
43 * Macro. A preserved node in a HTML document is really implemented
44 * the same way as a CDATA section in an XML document.
46 d HTML_PRESERVE_NODE...
51 * Macro. A processing instruction in a HTML document is really implemented
52 * the same way as a processing instruction in an XML document.
56 d htmlNewDoc pr extproc('htmlNewDoc')
58 d URI * value options(*string) const xmlChar *
59 d ExternalID * value options(*string) const xmlChar *
62 d pr extproc('htmlNewDocNoDtD')
64 d URI * value options(*string) const xmlChar *
65 d ExternalID * value options(*string) const xmlChar *
67 d htmlGetMetaEncoding...
68 d pr * extproc('htmlGetMetaEncoding') const xmlChar *
69 d doc value like(htmlDocPtr)
71 d htmlSetMetaEncoding...
72 d pr 10i 0 extproc('htmlSetMetaEncoding')
73 d doc value like(htmlDocPtr)
74 d encoding * value options(*string) const xmlChar *
76 /if defined(LIBXML_OUTPUT_ENABLED)
77 d htmlDocDumpMemory...
78 d pr extproc('htmlDocDumpMemory')
79 d cur value like(xmlDocPtr)
80 d mem * value xmlChar * *
83 d htmlDocDumpMemoryFormat...
84 d pr extproc('htmlDocDumpMemoryFormat')
85 d cur value like(xmlDocPtr)
86 d mem * value xmlChar * *
90 d htmlDocDump pr 10i 0 extproc('htmlDocDump')
92 d cur value like(xmlDocPtr)
94 d htmlSaveFile pr 10i 0 extproc('htmlSaveFile')
95 d filename * value options(*string) const char *
96 d cur value like(xmlDocPtr)
98 d htmlNodeDump pr 10i 0 extproc('htmlNodeDump')
99 d buf value like(xmlBufferPtr)
100 d doc value like(xmlDocPtr)
101 d cur value like(xmlNodePtr)
103 d htmlNodeDumpFile...
104 d pr extproc('htmlNodeDumpFile')
106 d doc value like(xmlDocPtr)
107 d cur value like(xmlNodePtr)
109 d htmlNodeDumpFileFormat...
110 d pr 10i 0 extproc('htmlNodeDumpFileFormat')
112 d doc value like(xmlDocPtr)
113 d cur value like(xmlNodePtr)
114 d encoding * value options(*string) const char *
118 d pr 10i 0 extproc('htmlSaveFileEnc')
119 d filename * value options(*string) const char *
120 d cur value like(xmlDocPtr)
121 d encoding * value options(*string) const char *
123 d htmlSaveFileFormat...
124 d pr 10i 0 extproc('htmlSaveFileFormat')
125 d filename * value options(*string) const char *
126 d cur value like(xmlDocPtr)
127 d encoding * value options(*string) const char *
130 d htmlNodeDumpFormatOutput...
131 d pr extproc('htmlNodeDumpFormatOutput')
132 d buf value like(xmlOutputBufferPtr)
133 d doc value like(xmlDocPtr)
134 d cur value like(xmlNodePtr)
135 d encoding * value options(*string) const char *
138 d htmlDocContentDumpOutput...
139 d pr extproc('htmlDocContentDumpOutput')
140 d buf value like(xmlOutputBufferPtr)
141 d cur value like(xmlDocPtr)
142 d encoding * value options(*string) const char *
144 d htmlDocContentDumpFormatOutput...
146 d 'htmlDocContentDumpFormatOutput')
147 d buf value like(xmlOutputBufferPtr)
148 d cur value like(xmlDocPtr)
149 d encoding * value options(*string) const char *
152 d htmlNodeDumpOutput...
153 d pr extproc('htmlNodeDumpOutput')
154 d buf value like(xmlOutputBufferPtr)
155 d doc value like(xmlDocPtr)
156 d cur value like(xmlNodePtr)
157 d encoding * value options(*string) const char *
159 /endif LIBXML_OUTPUT_ENABLD
161 d htmlIsBooleanAttr...
162 d pr 10i 0 extproc('htmlIsBooleanAttr')
163 d name * value options(*string) const xmlChar *
165 /endif LIBXML_HTML_ENABLED