2 * Summary: Old SAX version 1 handler, deprecated
3 * Description: DEPRECATED set of SAX version 1 interfaces used to
6 * Copy: See Copyright for the status of this software.
8 * Author: Daniel Veillard
17 #include <libxml/xmlversion.h>
18 #include <libxml/parser.h>
19 #include <libxml/xlink.h>
21 #ifdef LIBXML_LEGACY_ENABLED
26 XMLPUBFUN const xmlChar * XMLCALL
27 getPublicId (void *ctx);
28 XMLPUBFUN const xmlChar * XMLCALL
29 getSystemId (void *ctx);
30 XMLPUBFUN void XMLCALL
31 setDocumentLocator (void *ctx,
32 xmlSAXLocatorPtr loc);
35 getLineNumber (void *ctx);
37 getColumnNumber (void *ctx);
40 isStandalone (void *ctx);
42 hasInternalSubset (void *ctx);
44 hasExternalSubset (void *ctx);
46 XMLPUBFUN void XMLCALL
47 internalSubset (void *ctx,
49 const xmlChar *ExternalID,
50 const xmlChar *SystemID);
51 XMLPUBFUN void XMLCALL
52 externalSubset (void *ctx,
54 const xmlChar *ExternalID,
55 const xmlChar *SystemID);
56 XMLPUBFUN xmlEntityPtr XMLCALL
59 XMLPUBFUN xmlEntityPtr XMLCALL
60 getParameterEntity (void *ctx,
62 XMLPUBFUN xmlParserInputPtr XMLCALL
63 resolveEntity (void *ctx,
64 const xmlChar *publicId,
65 const xmlChar *systemId);
67 XMLPUBFUN void XMLCALL
68 entityDecl (void *ctx,
71 const xmlChar *publicId,
72 const xmlChar *systemId,
74 XMLPUBFUN void XMLCALL
75 attributeDecl (void *ctx,
77 const xmlChar *fullname,
80 const xmlChar *defaultValue,
81 xmlEnumerationPtr tree);
82 XMLPUBFUN void XMLCALL
83 elementDecl (void *ctx,
86 xmlElementContentPtr content);
87 XMLPUBFUN void XMLCALL
88 notationDecl (void *ctx,
90 const xmlChar *publicId,
91 const xmlChar *systemId);
92 XMLPUBFUN void XMLCALL
93 unparsedEntityDecl (void *ctx,
95 const xmlChar *publicId,
96 const xmlChar *systemId,
97 const xmlChar *notationName);
99 XMLPUBFUN void XMLCALL
100 startDocument (void *ctx);
101 XMLPUBFUN void XMLCALL
102 endDocument (void *ctx);
103 XMLPUBFUN void XMLCALL
104 attribute (void *ctx,
105 const xmlChar *fullname,
106 const xmlChar *value);
107 XMLPUBFUN void XMLCALL
108 startElement (void *ctx,
109 const xmlChar *fullname,
110 const xmlChar **atts);
111 XMLPUBFUN void XMLCALL
112 endElement (void *ctx,
113 const xmlChar *name);
114 XMLPUBFUN void XMLCALL
115 reference (void *ctx,
116 const xmlChar *name);
117 XMLPUBFUN void XMLCALL
118 characters (void *ctx,
121 XMLPUBFUN void XMLCALL
122 ignorableWhitespace (void *ctx,
125 XMLPUBFUN void XMLCALL
126 processingInstruction (void *ctx,
127 const xmlChar *target,
128 const xmlChar *data);
129 XMLPUBFUN void XMLCALL
130 globalNamespace (void *ctx,
132 const xmlChar *prefix);
133 XMLPUBFUN void XMLCALL
134 setNamespace (void *ctx,
135 const xmlChar *name);
136 XMLPUBFUN xmlNsPtr XMLCALL
137 getNamespace (void *ctx);
138 XMLPUBFUN int XMLCALL
139 checkNamespace (void *ctx,
141 XMLPUBFUN void XMLCALL
142 namespaceDecl (void *ctx,
144 const xmlChar *prefix);
145 XMLPUBFUN void XMLCALL
147 const xmlChar *value);
148 XMLPUBFUN void XMLCALL
149 cdataBlock (void *ctx,
150 const xmlChar *value,
153 #ifdef LIBXML_SAX1_ENABLED
154 XMLPUBFUN void XMLCALL
155 initxmlDefaultSAXHandler (xmlSAXHandlerV1 *hdlr,
157 #ifdef LIBXML_HTML_ENABLED
158 XMLPUBFUN void XMLCALL
159 inithtmlDefaultSAXHandler (xmlSAXHandlerV1 *hdlr);
161 #ifdef LIBXML_DOCB_ENABLED
162 XMLPUBFUN void XMLCALL
163 initdocbDefaultSAXHandler (xmlSAXHandlerV1 *hdlr);
165 #endif /* LIBXML_SAX1_ENABLED */
171 #endif /* LIBXML_LEGACY_ENABLED */
173 #endif /* __XML_SAX_H__ */