blob: 82a11ca4141db1c68e1574d324206361e43361a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
|
* Summary: specific APIs to process HTML tree, especially serialization
* Description: this module implements a few function needed to process
* tree in an HTML specific way.
*
* Copy: See Copyright for the status of this software.
*
* Author: Patrick Monnerat <pm@datasphere.ch>, DATASPHERE S.A.
/if not defined(HTML_TREE_H__)
/define HTML_TREE_H__
/include "libxmlrpg/xmlversion"
/include "libxmlrpg/tree"
/include "libxmlrpg/HTMLparser"
/if defined(LIBXML_HTML_ENABLED)
* HTML_TEXT_NODE:
*
* Macro. A text node in a HTML document is really implemented
* the same way as a text node in an XML document.
d HTML_TEXT_NODE c 3
* HTML_ENTITY_REF_NODE:
*
* Macro. An entity reference in a HTML document is really implemented
* the same way as an entity reference in an XML document.
d HTML_ENTITY_REF_NODE...
d c 5
* HTML_COMMENT_NODE:
*
* Macro. A comment in a HTML document is really implemented
* the same way as a comment in an XML document.
d HTML_COMMENT_NODE...
d c 8
* HTML_PRESERVE_NODE:
*
* Macro. A preserved node in a HTML document is really implemented
* the same way as a CDATA section in an XML document.
d HTML_PRESERVE_NODE...
d c 4
* HTML_PI_NODE:
*
* Macro. A processing instruction in a HTML document is really implemented
* the same way as a processing instruction in an XML document.
d HTML_PI_NODE c 7
d htmlNewDoc pr extproc('htmlNewDoc')
d like(htmlDocPtr)
d URI * value options(*string) const xmlChar *
d ExternalID * value options(*string) const xmlChar *
d htmlNewDocNoDtD...
d pr extproc('htmlNewDocNoDtD')
d like(htmlDocPtr)
d URI * value options(*string) const xmlChar *
d ExternalID * value options(*string) const xmlChar *
d htmlGetMetaEncoding...
d pr * extproc('htmlGetMetaEncoding') const xmlChar *
d doc value like(htmlDocPtr)
d htmlSetMetaEncoding...
d pr 10i 0 extproc('htmlSetMetaEncoding')
d doc value like(htmlDocPtr)
d encoding * value options(*string) const xmlChar *
/if defined(LIBXML_OUTPUT_ENABLED)
d htmlDocDumpMemory...
d pr extproc('htmlDocDumpMemory')
d cur value like(xmlDocPtr)
d mem * value xmlChar * *
d size 10i 0
d htmlDocDumpMemoryFormat...
d pr extproc('htmlDocDumpMemoryFormat')
d cur value like(xmlDocPtr)
d mem * value xmlChar * *
d size 10i 0
d format 10i 0 value
d htmlDocDump pr 10i 0 extproc('htmlDocDump')
d f * value FILE *
d cur value like(xmlDocPtr)
d htmlSaveFile pr 10i 0 extproc('htmlSaveFile')
d filename * value options(*string) const char *
d cur value like(xmlDocPtr)
d htmlNodeDump pr 10i 0 extproc('htmlNodeDump')
d buf value like(xmlBufferPtr)
d doc value like(xmlDocPtr)
d cur value like(xmlNodePtr)
d htmlNodeDumpFile...
d pr extproc('htmlNodeDumpFile')
d out * value FILE *
d doc value like(xmlDocPtr)
d cur value like(xmlNodePtr)
d htmlNodeDumpFileFormat...
d pr 10i 0 extproc('htmlNodeDumpFileFormat')
d out * value FILE *
d doc value like(xmlDocPtr)
d cur value like(xmlNodePtr)
d encoding * value options(*string) const char *
d format 10i 0 value
d htmlSaveFileEnc...
d pr 10i 0 extproc('htmlSaveFileEnc')
d filename * value options(*string) const char *
d cur value like(xmlDocPtr)
d encoding * value options(*string) const char *
d htmlSaveFileFormat...
d pr 10i 0 extproc('htmlSaveFileFormat')
d filename * value options(*string) const char *
d cur value like(xmlDocPtr)
d encoding * value options(*string) const char *
d format 10i 0 value
d htmlNodeDumpFormatOutput...
d pr extproc('htmlNodeDumpFormatOutput')
d buf value like(xmlOutputBufferPtr)
d doc value like(xmlDocPtr)
d cur value like(xmlNodePtr)
d encoding * value options(*string) const char *
d format 10i 0 value
d htmlDocContentDumpOutput...
d pr extproc('htmlDocContentDumpOutput')
d buf value like(xmlOutputBufferPtr)
d cur value like(xmlDocPtr)
d encoding * value options(*string) const char *
d htmlDocContentDumpFormatOutput...
d pr extproc(
d 'htmlDocContentDumpFormatOutput')
d buf value like(xmlOutputBufferPtr)
d cur value like(xmlDocPtr)
d encoding * value options(*string) const char *
d format 10i 0 value
d htmlNodeDumpOutput...
d pr extproc('htmlNodeDumpOutput')
d buf value like(xmlOutputBufferPtr)
d doc value like(xmlDocPtr)
d cur value like(xmlNodePtr)
d encoding * value options(*string) const char *
/endif LIBXML_OUTPUT_ENABLD
d htmlIsBooleanAttr...
d pr 10i 0 extproc('htmlIsBooleanAttr')
d name * value options(*string) const xmlChar *
/endif LIBXML_HTML_ENABLED
/endif HTML_TREE_H__
|