Eneboo - Documentación para desarrolladores
src/libdigidoc/libxml2/include/libxml/xinclude.h
Ir a la documentación de este archivo.
00001 /*
00002  * Summary: implementation of XInclude
00003  * Description: API to handle XInclude processing,
00004  * implements the
00005  * World Wide Web Consortium Last Call Working Draft 10 November 2003
00006  * http://www.w3.org/TR/2003/WD-xinclude-20031110
00007  *
00008  * Copy: See Copyright for the status of this software.
00009  *
00010  * Author: Daniel Veillard
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  * standalone processing
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                 xmlXIncludeProcessTreeFlagsData(xmlNodePtr tree,
00103                                          int flags,
00104                                          void *data);
00105 XMLPUBFUN int XMLCALL
00106                 xmlXIncludeProcessTree  (xmlNodePtr tree);
00107 XMLPUBFUN int XMLCALL
00108                 xmlXIncludeProcessTreeFlags(xmlNodePtr tree,
00109                                          int flags);
00110 /*
00111  * contextual processing
00112  */
00113 XMLPUBFUN xmlXIncludeCtxtPtr XMLCALL
00114                 xmlXIncludeNewContext   (xmlDocPtr doc);
00115 XMLPUBFUN int XMLCALL
00116                 xmlXIncludeSetFlags     (xmlXIncludeCtxtPtr ctxt,
00117                                          int flags);
00118 XMLPUBFUN void XMLCALL
00119                 xmlXIncludeFreeContext  (xmlXIncludeCtxtPtr ctxt);
00120 XMLPUBFUN int XMLCALL
00121                 xmlXIncludeProcessNode  (xmlXIncludeCtxtPtr ctxt,
00122                                          xmlNodePtr tree);
00123 #ifdef __cplusplus
00124 }
00125 #endif
00126 
00127 #endif /* LIBXML_XINCLUDE_ENABLED */
00128 
00129 #endif /* __XML_XINCLUDE_H__ */
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'