ReactOS  0.4.15-dev-1177-g6cb3b62
xinclude.h
Go to the documentation of this file.
1 /*
2  * Summary: implementation of XInclude
3  * Description: API to handle XInclude processing,
4  * implements the
5  * World Wide Web Consortium Last Call Working Draft 10 November 2003
6  * http://www.w3.org/TR/2003/WD-xinclude-20031110
7  *
8  * Copy: See Copyright for the status of this software.
9  *
10  * Author: Daniel Veillard
11  */
12 
13 #ifndef __XML_XINCLUDE_H__
14 #define __XML_XINCLUDE_H__
15 
16 #include <libxml/xmlversion.h>
17 #include <libxml/tree.h>
18 
19 #ifdef LIBXML_XINCLUDE_ENABLED
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
30 #define XINCLUDE_NS (const xmlChar *) "http://www.w3.org/2003/XInclude"
31 
36 #define XINCLUDE_OLD_NS (const xmlChar *) "http://www.w3.org/2001/XInclude"
37 
42 #define XINCLUDE_NODE (const xmlChar *) "include"
43 
48 #define XINCLUDE_FALLBACK (const xmlChar *) "fallback"
49 
54 #define XINCLUDE_HREF (const xmlChar *) "href"
55 
60 #define XINCLUDE_PARSE (const xmlChar *) "parse"
61 
66 #define XINCLUDE_PARSE_XML (const xmlChar *) "xml"
67 
72 #define XINCLUDE_PARSE_TEXT (const xmlChar *) "text"
73 
78 #define XINCLUDE_PARSE_ENCODING (const xmlChar *) "encoding"
79 
84 #define XINCLUDE_PARSE_XPOINTER (const xmlChar *) "xpointer"
85 
86 typedef struct _xmlXIncludeCtxt xmlXIncludeCtxt;
87 typedef xmlXIncludeCtxt *xmlXIncludeCtxtPtr;
88 
89 /*
90  * standalone processing
91  */
93  xmlXIncludeProcess (xmlDocPtr doc);
95  xmlXIncludeProcessFlags (xmlDocPtr doc,
96  int flags);
98  xmlXIncludeProcessFlagsData(xmlDocPtr doc,
99  int flags,
100  void *data);
101 XMLPUBFUN int XMLCALL
102  xmlXIncludeProcessTreeFlagsData(xmlNodePtr tree,
103  int flags,
104  void *data);
105 XMLPUBFUN int XMLCALL
106  xmlXIncludeProcessTree (xmlNodePtr tree);
107 XMLPUBFUN int XMLCALL
108  xmlXIncludeProcessTreeFlags(xmlNodePtr tree,
109  int flags);
110 /*
111  * contextual processing
112  */
113 XMLPUBFUN xmlXIncludeCtxtPtr XMLCALL
114  xmlXIncludeNewContext (xmlDocPtr doc);
115 XMLPUBFUN int XMLCALL
116  xmlXIncludeSetFlags (xmlXIncludeCtxtPtr ctxt,
117  int flags);
118 XMLPUBFUN void XMLCALL
119  xmlXIncludeFreeContext (xmlXIncludeCtxtPtr ctxt);
120 XMLPUBFUN int XMLCALL
121  xmlXIncludeProcessNode (xmlXIncludeCtxtPtr ctxt,
122  xmlNodePtr tree);
123 #ifdef __cplusplus
124 }
125 #endif
126 
127 #endif /* LIBXML_XINCLUDE_ENABLED */
128 
129 #endif /* __XML_XINCLUDE_H__ */
#define XMLPUBFUN
Definition: xmlexports.h:30
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
GLbitfield flags
Definition: glext.h:7161
Definition: tree.h:489
Definition: tree.h:551
#define XMLCALL