00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef __XML_XINCLUDE_H__
00026
00027 #define __XML_XINCLUDE_H__
00028
00029
00030
00031 #include <libxml/xmlversion.h>
00032
00033 #include <libxml/tree.h>
00034
00035
00036
00037 #ifdef LIBXML_XINCLUDE_ENABLED
00038
00039
00040
00041 #ifdef __cplusplus
00042
00043 extern "C" {
00044
00045 #endif
00046
00047
00048
00059 #define XINCLUDE_NS (const xmlChar *) "http://www.w3.org/2003/XInclude"
00060
00071 #define XINCLUDE_OLD_NS (const xmlChar *) "http://www.w3.org/2001/XInclude"
00072
00083 #define XINCLUDE_NODE (const xmlChar *) "include"
00084
00095 #define XINCLUDE_FALLBACK (const xmlChar *) "fallback"
00096
00107 #define XINCLUDE_HREF (const xmlChar *) "href"
00108
00119 #define XINCLUDE_PARSE (const xmlChar *) "parse"
00120
00131 #define XINCLUDE_PARSE_XML (const xmlChar *) "xml"
00132
00143 #define XINCLUDE_PARSE_TEXT (const xmlChar *) "text"
00144
00155 #define XINCLUDE_PARSE_ENCODING (const xmlChar *) "encoding"
00156
00167 #define XINCLUDE_PARSE_XPOINTER (const xmlChar *) "xpointer"
00168
00169
00170
00171 typedef struct _xmlXIncludeCtxt xmlXIncludeCtxt;
00172
00173 typedef xmlXIncludeCtxt *xmlXIncludeCtxtPtr;
00174
00175
00176
00177
00178
00179
00180
00181
00182
00183 XMLPUBFUN int XMLCALL
00184
00185 xmlXIncludeProcess (xmlDocPtr doc);
00186
00187 XMLPUBFUN int XMLCALL
00188
00189 xmlXIncludeProcessFlags (xmlDocPtr doc,
00190
00191 int flags);
00192
00193 XMLPUBFUN int XMLCALL
00194
00195 xmlXIncludeProcessTree (xmlNodePtr tree);
00196
00197 XMLPUBFUN int XMLCALL
00198
00199 xmlXIncludeProcessTreeFlags(xmlNodePtr tree,
00200
00201 int flags);
00202
00203
00204
00205
00206
00207
00208
00209 XMLPUBFUN xmlXIncludeCtxtPtr XMLCALL
00210
00211 xmlXIncludeNewContext (xmlDocPtr doc);
00212
00213 XMLPUBFUN int XMLCALL
00214
00215 xmlXIncludeSetFlags (xmlXIncludeCtxtPtr ctxt,
00216
00217 int flags);
00218
00219 XMLPUBFUN void XMLCALL
00220
00221 xmlXIncludeFreeContext (xmlXIncludeCtxtPtr ctxt);
00222
00223 XMLPUBFUN int XMLCALL
00224
00225 xmlXIncludeProcessNode (xmlXIncludeCtxtPtr ctxt,
00226
00227 xmlNodePtr tree);
00228
00229 #ifdef __cplusplus
00230
00231 }
00232
00233 #endif
00234
00235
00236
00237 #endif
00238
00239
00240
00241 #endif
00242