File indexing completed on 2025-02-22 10:41:51
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 #ifndef __XML_XINCLUDE_H__
0014 #define __XML_XINCLUDE_H__
0015
0016 #include <libxml/xmlversion.h>
0017 #include <libxml/xmlerror.h>
0018 #include <libxml/tree.h>
0019
0020 #ifdef LIBXML_XINCLUDE_ENABLED
0021
0022 #ifdef __cplusplus
0023 extern "C" {
0024 #endif
0025
0026
0027
0028
0029
0030
0031 #define XINCLUDE_NS (const xmlChar *) "http://www.w3.org/2003/XInclude"
0032
0033
0034
0035
0036
0037 #define XINCLUDE_OLD_NS (const xmlChar *) "http://www.w3.org/2001/XInclude"
0038
0039
0040
0041
0042
0043 #define XINCLUDE_NODE (const xmlChar *) "include"
0044
0045
0046
0047
0048
0049 #define XINCLUDE_FALLBACK (const xmlChar *) "fallback"
0050
0051
0052
0053
0054
0055 #define XINCLUDE_HREF (const xmlChar *) "href"
0056
0057
0058
0059
0060
0061 #define XINCLUDE_PARSE (const xmlChar *) "parse"
0062
0063
0064
0065
0066
0067 #define XINCLUDE_PARSE_XML (const xmlChar *) "xml"
0068
0069
0070
0071
0072
0073 #define XINCLUDE_PARSE_TEXT (const xmlChar *) "text"
0074
0075
0076
0077
0078
0079 #define XINCLUDE_PARSE_ENCODING (const xmlChar *) "encoding"
0080
0081
0082
0083
0084
0085 #define XINCLUDE_PARSE_XPOINTER (const xmlChar *) "xpointer"
0086
0087 typedef struct _xmlXIncludeCtxt xmlXIncludeCtxt;
0088 typedef xmlXIncludeCtxt *xmlXIncludeCtxtPtr;
0089
0090
0091
0092
0093 XMLPUBFUN int
0094 xmlXIncludeProcess (xmlDocPtr doc);
0095 XMLPUBFUN int
0096 xmlXIncludeProcessFlags (xmlDocPtr doc,
0097 int flags);
0098 XMLPUBFUN int
0099 xmlXIncludeProcessFlagsData(xmlDocPtr doc,
0100 int flags,
0101 void *data);
0102 XMLPUBFUN int
0103 xmlXIncludeProcessTreeFlagsData(xmlNodePtr tree,
0104 int flags,
0105 void *data);
0106 XMLPUBFUN int
0107 xmlXIncludeProcessTree (xmlNodePtr tree);
0108 XMLPUBFUN int
0109 xmlXIncludeProcessTreeFlags(xmlNodePtr tree,
0110 int flags);
0111
0112
0113
0114 XMLPUBFUN xmlXIncludeCtxtPtr
0115 xmlXIncludeNewContext (xmlDocPtr doc);
0116 XMLPUBFUN int
0117 xmlXIncludeSetFlags (xmlXIncludeCtxtPtr ctxt,
0118 int flags);
0119 XMLPUBFUN void
0120 xmlXIncludeSetErrorHandler(xmlXIncludeCtxtPtr ctxt,
0121 xmlStructuredErrorFunc handler,
0122 void *data);
0123 XMLPUBFUN int
0124 xmlXIncludeGetLastError (xmlXIncludeCtxtPtr ctxt);
0125 XMLPUBFUN void
0126 xmlXIncludeFreeContext (xmlXIncludeCtxtPtr ctxt);
0127 XMLPUBFUN int
0128 xmlXIncludeProcessNode (xmlXIncludeCtxtPtr ctxt,
0129 xmlNodePtr tree);
0130 #ifdef __cplusplus
0131 }
0132 #endif
0133
0134 #endif
0135
0136 #endif