| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
|
|
| #ifndef __XML_XINCLUDE_H__ |
| #define __XML_XINCLUDE_H__ |
|
|
| #include <libxml/xmlversion.h> |
| #include <libxml/xmlerror.h> |
| #include <libxml/tree.h> |
|
|
| #ifdef LIBXML_XINCLUDE_ENABLED |
|
|
| #ifdef __cplusplus |
| extern "C" { |
| #endif |
|
|
| |
| |
| |
| |
| |
| #define XINCLUDE_NS (const xmlChar *) "http://www.w3.org/2003/XInclude" |
| |
| |
| |
| |
| |
| #define XINCLUDE_OLD_NS (const xmlChar *) "http://www.w3.org/2001/XInclude" |
| |
| |
| |
| |
| |
| #define XINCLUDE_NODE (const xmlChar *) "include" |
| |
| |
| |
| |
| |
| #define XINCLUDE_FALLBACK (const xmlChar *) "fallback" |
| |
| |
| |
| |
| |
| #define XINCLUDE_HREF (const xmlChar *) "href" |
| |
| |
| |
| |
| |
| #define XINCLUDE_PARSE (const xmlChar *) "parse" |
| |
| |
| |
| |
| |
| #define XINCLUDE_PARSE_XML (const xmlChar *) "xml" |
| |
| |
| |
| |
| |
| #define XINCLUDE_PARSE_TEXT (const xmlChar *) "text" |
| |
| |
| |
| |
| |
| #define XINCLUDE_PARSE_ENCODING (const xmlChar *) "encoding" |
| |
| |
| |
| |
| |
| #define XINCLUDE_PARSE_XPOINTER (const xmlChar *) "xpointer" |
|
|
| typedef struct _xmlXIncludeCtxt xmlXIncludeCtxt; |
| typedef xmlXIncludeCtxt *xmlXIncludeCtxtPtr; |
|
|
| |
| |
| |
| XMLPUBFUN int |
| xmlXIncludeProcess (xmlDocPtr doc); |
| XMLPUBFUN int |
| xmlXIncludeProcessFlags (xmlDocPtr doc, |
| int flags); |
| XMLPUBFUN int |
| xmlXIncludeProcessFlagsData(xmlDocPtr doc, |
| int flags, |
| void *data); |
| XMLPUBFUN int |
| xmlXIncludeProcessTreeFlagsData(xmlNodePtr tree, |
| int flags, |
| void *data); |
| XMLPUBFUN int |
| xmlXIncludeProcessTree (xmlNodePtr tree); |
| XMLPUBFUN int |
| xmlXIncludeProcessTreeFlags(xmlNodePtr tree, |
| int flags); |
| |
| |
| |
| XMLPUBFUN xmlXIncludeCtxtPtr |
| xmlXIncludeNewContext (xmlDocPtr doc); |
| XMLPUBFUN int |
| xmlXIncludeSetFlags (xmlXIncludeCtxtPtr ctxt, |
| int flags); |
| XMLPUBFUN void |
| xmlXIncludeSetErrorHandler(xmlXIncludeCtxtPtr ctxt, |
| xmlStructuredErrorFunc handler, |
| void *data); |
| XMLPUBFUN int |
| xmlXIncludeGetLastError (xmlXIncludeCtxtPtr ctxt); |
| XMLPUBFUN void |
| xmlXIncludeFreeContext (xmlXIncludeCtxtPtr ctxt); |
| XMLPUBFUN int |
| xmlXIncludeProcessNode (xmlXIncludeCtxtPtr ctxt, |
| xmlNodePtr tree); |
| #ifdef __cplusplus |
| } |
| #endif |
|
|
| #endif |
|
|
| #endif |
|
|