1 * Summary: SAX2 parser interface used to build the DOM tree
2 * Description: those are the default SAX2 interfaces used by
3 * the library when building DOM tree.
5 * Copy: See Copyright for the status of this software.
7 * Author: Patrick Monnerat <pm@datasphere.ch>, DATASPHERE S.A.
9 /if not defined(XML_SAX2_H__)
12 /include "libxmlrpg/xmlversion"
13 /include "libxmlrpg/parser"
14 /include "libxmlrpg/xlink"
16 d xmlSAX2GetPublicId...
17 d pr * extproc('xmlSAX2getPublicId') const xmlChar *
20 d xmlSAX2GetSystemId...
21 d pr * extproc('xmlSAX2getSystemId') const xmlChar *
24 d xmlSAX2SetDocumentLocator...
25 d pr extproc('xmlSAX2SetDocumentLocator')
27 d loc value like(xmlSAXLocatorPtr)
29 d xmlSAX2GetLineNumber...
30 d pr 10i 0 extproc('xmlSAX2GetLineNumber')
33 d xmlSAX2GetColumnNumber...
34 d pr 10i 0 extproc('xmlSAX2GetColumnNumber')
37 d xmlSAX2IsStandalone...
38 d pr 10i 0 extproc('xmlSAX2IsStandalone')
41 d xmlSAX2HasInternalSubset...
42 d pr 10i 0 extproc('xmlSAX2HasInternalSubset')
45 d xmlSAX2HasExternalSubset...
46 d pr 10i 0 extproc('xmlSAX2HasExternalSubset')
49 d xmlSAX2InternalSubset...
50 d pr extproc('xmlSAX2InternalSubset')
52 d name * value options(*string) const xmlChar *
53 d ExternalID * value options(*string) const xmlChar *
54 d SystemID * value options(*string) const xmlChar *
56 d xmlSAX2ExternalSubset...
57 d pr extproc('xmlSAX2ExternalSubset')
59 d name * value options(*string) const xmlChar *
60 d ExternalID * value options(*string) const xmlChar *
61 d SystemID * value options(*string) const xmlChar *
64 d pr extproc('xmlSAX2GetEntity')
67 d name * value options(*string) const xmlChar *
69 d xmlSAX2GetParameterEntity...
70 d pr extproc('xmlSAX2GetParameterEntity')
73 d name * value options(*string) const xmlChar *
75 d xmlSAX2ResolveEntity...
76 d pr extproc('xmlSAX2ResolveEntity')
77 d like(xmlParserInputPtr)
79 d publicId * value options(*string) const xmlChar *
80 d systemId * value options(*string) const xmlChar *
82 d xmlSAX2EntityDecl...
83 d pr extproc('xmlSAX2EntityDecl')
85 d name * value options(*string) const xmlChar *
87 d publicId * value options(*string) const xmlChar *
88 d systemId * value options(*string) const xmlChar *
89 d content * value options(*string) xmlChar *
91 d xmlSAX2AttributeDecl...
92 d pr extproc('xmlSAX2AttributeDecl')
94 d elem * value options(*string) const xmlChar *
95 d fullname * value options(*string) const xmlChar *
98 d defaultValue * value options(*string) const xmlChar *
99 d tree value like(xmlEnumerationPtr)
101 d xmlSAX2ElementDecl...
102 d pr extproc('xmlSAX2ElementDecl')
104 d name * value options(*string) const xmlChar *
106 d content value like(xmlElementContentPtr)
108 d xmlSAX2NotationDecl...
109 d pr extproc('xmlSAX2NotationDecl')
111 d name * value options(*string) const xmlChar *
112 d publicId * value options(*string) const xmlChar *
113 d systemId * value options(*string) const xmlChar *
115 d xmlSAX2UnparsedEntityDecl...
116 d pr extproc('xmlSAX2UnparsedEntityDecl')
118 d name * value options(*string) const xmlChar *
119 d publicId * value options(*string) const xmlChar *
120 d systemId * value options(*string) const xmlChar *
121 d notationName * value options(*string) xmlChar *
123 d xmlSAX2StartDocument...
124 d pr extproc('xmlSAX2StartDocument')
127 d xmlSAX2EndDocument...
128 d pr extproc('xmlSAX2EndDocument')
131 /undefine XML_TESTVAL
132 /if defined(LIBXML_SAX1_ENABLED)
134 /elseif defined(LIBXML_HTML_ENABLED)
136 /elseif defined(LIBXML_WRITER_ENABLED)
138 /elseif defined(LIBXML_DOCB_ENABLED)
140 /if defined(XML_TESTVAL)
141 d xmlSAX2StartElement...
142 d pr extproc('xmlSAX2StartElement')
144 d fullname * value options(*string) const xmlChar *
145 d atts * const xmlChar *(*)
147 d xmlSAX2EndElement...
148 d pr extproc('xmlSAX2EndElement')
150 d name * value options(*string) const xmlChar *
152 /undefine XML_TESTVAL
155 d xmlSAX2StartElementNs...
156 d pr extproc('xmlSAX2StartElementNs')
158 d localname * value options(*string) const xmlChar *
159 d prefix * value options(*string) const xmlChar *
160 d URI * value options(*string) const xmlChar *
161 d nb_namespaces 10i 0 value
162 d namespaces * value const xmlChar *(*)
163 d nb_attributes 10i 0 value
164 d nb_defaulted 10i 0 value
165 d attributes * const xmlChar *(*)
167 d xmlSAX2EndElementNs...
168 d pr extproc('xmlSAX2EndElementNs')
170 d localname * value options(*string) const xmlChar *
171 d prefix * value options(*string) const xmlChar *
172 d URI * value options(*string) const xmlChar *
174 d xmlSAX2Reference...
175 d pr extproc('xmlSAX2Reference')
177 d name * value options(*string) const xmlChar *
179 d xmlSAX2Characters...
180 d pr extproc('xmlSAX2Characters')
182 d ch * value options(*string) const xmlChar *
185 d xmlSAX2IgnorableWhitespace...
186 d pr extproc('xmlSAX2IgnorableWhitespace')
188 d ch * value options(*string) const xmlChar *
191 d xmlSAX2ProcessingInstruction...
193 d 'xmlSAX2ProcessingInstruction')
195 d target * value options(*string) const xmlChar *
196 d data * value options(*string) const xmlChar *
199 d pr extproc('xmlSAX2Comment')
201 d value * value options(*string) const xmlChar *
203 d xmlSAX2CDataBlock...
204 d pr extproc('xmlSAX2CDataBlock')
206 d value * value options(*string) const xmlChar *
209 /if defined(LIBXML_SAX1_ENABLED)
210 d xmlSAXDefaultVersion...
211 d pr 10i 0 extproc('xmlSAXDefaultVersion')
212 d version 10i 0 value
213 /endif LIBXML_SAX1_ENABLED
215 d xmlSAXVersion pr 10i 0 extproc('xmlSAXVersion')
216 d hdlr like(xmlSAXHandler)
217 d version 10i 0 value
219 d xmlSAX2InitDefaultSAXHandler...
221 d 'xmlSAX2InitDefaultSAXHandler')
222 d hdlr like(xmlSAXHandler)
223 d warning 10i 0 value
225 /if defined(LIBXML_HTML_ENABLED)
226 d xmlSAX2InitHtmlDefaultSAXHandler...
228 d 'xmlSAX2InitHtmlDefaultSAXHandler')
229 d hdlr like(xmlSAXHandler)
231 d htmlDefaultSAXHandlerInit...
232 d pr extproc('htmlDefaultSAXHandlerInit')
235 /if defined(LIBXML_DOCB_ENABLED)
236 d xmlSAX2InitDocbDefaultSAXHandler...
238 d 'xmlSAX2InitDocbDefaultSAXHandler')
239 d hdlr like(xmlSAXHandler)
241 d docbDefaultSAXHandlerInit...
242 d pr extproc('docbDefaultSAXHandlerInit')
245 d xmlDefaultSAXHandlerInit...
246 d pr extproc('xmlDefaultSAXHandlerInit')