00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef __XML_XINCLUDE_H__
00014 #define __XML_XINCLUDE_H__
00015
00016 #include <libxml/xmlversion.h>
00017 #include <libxml/tree.h>
00018
00019 #ifdef LIBXML_XINCLUDE_ENABLED
00020
00021 #ifdef __cplusplus
00022 extern "C" {
00023 #endif
00024
00030 #define XINCLUDE_NS (const xmlChar *) "http://www.w3.org/2003/XInclude"
00031
00036 #define XINCLUDE_OLD_NS (const xmlChar *) "http://www.w3.org/2001/XInclude"
00037
00042 #define XINCLUDE_NODE (const xmlChar *) "include"
00043
00048 #define XINCLUDE_FALLBACK (const xmlChar *) "fallback"
00049
00054 #define XINCLUDE_HREF (const xmlChar *) "href"
00055
00060 #define XINCLUDE_PARSE (const xmlChar *) "parse"
00061
00066 #define XINCLUDE_PARSE_XML (const xmlChar *) "xml"
00067
00072 #define XINCLUDE_PARSE_TEXT (const xmlChar *) "text"
00073
00078 #define XINCLUDE_PARSE_ENCODING (const xmlChar *) "encoding"
00079
00084 #define XINCLUDE_PARSE_XPOINTER (const xmlChar *) "xpointer"
00085
00086 typedef struct _xmlXIncludeCtxt xmlXIncludeCtxt;
00087 typedef xmlXIncludeCtxt *xmlXIncludeCtxtPtr;
00088
00089
00090
00091
00092 XMLPUBFUN int XMLCALL
00093 xmlXIncludeProcess (xmlDocPtr doc);
00094 XMLPUBFUN int XMLCALL
00095 xmlXIncludeProcessFlags (xmlDocPtr doc,
00096 int flags);
00097 XMLPUBFUN int XMLCALL
00098 xmlXIncludeProcessFlagsData(xmlDocPtr doc,
00099 int flags,
00100 void *data);
00101 XMLPUBFUN int XMLCALL
00102 xmlXIncludeProcessTree (xmlNodePtr tree);
00103 XMLPUBFUN int XMLCALL
00104 xmlXIncludeProcessTreeFlags(xmlNodePtr tree,
00105 int flags);
00106
00107
00108
00109 XMLPUBFUN xmlXIncludeCtxtPtr XMLCALL
00110 xmlXIncludeNewContext (xmlDocPtr doc);
00111 XMLPUBFUN int XMLCALL
00112 xmlXIncludeSetFlags (xmlXIncludeCtxtPtr ctxt,
00113 int flags);
00114 XMLPUBFUN void XMLCALL
00115 xmlXIncludeFreeContext (xmlXIncludeCtxtPtr ctxt);
00116 XMLPUBFUN int XMLCALL
00117 xmlXIncludeProcessNode (xmlXIncludeCtxtPtr ctxt,
00118 xmlNodePtr tree);
00119 #ifdef __cplusplus
00120 }
00121 #endif
00122
00123 #endif
00124
00125 #endif