ReactOS 0.4.15-dev-7842-g558ab78
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
22extern "C" {
23#endif
24
30#define XINCLUDE_NS (const xmlChar *) "http://www.w3.org/2003/XInclude"
36#define XINCLUDE_OLD_NS (const xmlChar *) "http://www.w3.org/2001/XInclude"
42#define XINCLUDE_NODE (const xmlChar *) "include"
48#define XINCLUDE_FALLBACK (const xmlChar *) "fallback"
54#define XINCLUDE_HREF (const xmlChar *) "href"
60#define XINCLUDE_PARSE (const xmlChar *) "parse"
66#define XINCLUDE_PARSE_XML (const xmlChar *) "xml"
72#define XINCLUDE_PARSE_TEXT (const xmlChar *) "text"
78#define XINCLUDE_PARSE_ENCODING (const xmlChar *) "encoding"
84#define XINCLUDE_PARSE_XPOINTER (const xmlChar *) "xpointer"
85
86typedef struct _xmlXIncludeCtxt xmlXIncludeCtxt;
87typedef 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);
102 xmlXIncludeProcessTreeFlagsData(xmlNodePtr tree,
103 int flags,
104 void *data);
106 xmlXIncludeProcessTree (xmlNodePtr tree);
108 xmlXIncludeProcessTreeFlags(xmlNodePtr tree,
109 int flags);
110/*
111 * contextual processing
112 */
113XMLPUBFUN xmlXIncludeCtxtPtr XMLCALL
114 xmlXIncludeNewContext (xmlDocPtr doc);
116 xmlXIncludeSetFlags (xmlXIncludeCtxtPtr ctxt,
117 int flags);
119 xmlXIncludeFreeContext (xmlXIncludeCtxtPtr ctxt);
121 xmlXIncludeProcessNode (xmlXIncludeCtxtPtr ctxt,
123#ifdef __cplusplus
124}
125#endif
126
127#endif /* LIBXML_XINCLUDE_ENABLED */
128
129#endif /* __XML_XINCLUDE_H__ */
#define XMLCALL
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
GLbitfield flags
Definition: glext.h:7161
Definition: tree.h:551
Definition: tree.h:489
#define XMLPUBFUN
Definition: xmlexports.h:61