1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/stdapis/libxml2/libxml2_xinclude.h Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -0,0 +1,121 @@
1.4 +/*
1.5 + * Summary: implementation of XInclude
1.6 + * Description: API to handle XInclude processing,
1.7 + * implements the
1.8 + * World Wide Web Consortium Last Call WorkingDraft 10 November 2003
1.9 + * http://www.w3.org/TR/2003/WD-xinclude-20031110
1.10 + *
1.11 + * Copy: See Copyright for the status of this software.
1.12 + *
1.13 + * Author: Daniel Veillard
1.14 + */
1.15 +
1.16 +/** @file
1.17 +@publishedAll
1.18 +@released
1.19 +*/
1.20 +
1.21 +#ifndef XML_XINCLUDE_H
1.22 +#define XML_XINCLUDE_H
1.23 +
1.24 +#include <stdapis/libxml2/libxml2_xmlversion.h>
1.25 +#include <stdapis/libxml2/libxml2_tree.h>
1.26 +
1.27 +#ifdef __cplusplus
1.28 +extern "C" {
1.29 +#endif
1.30 +
1.31 +/**
1.32 + * XINCLUDE_NS:
1.33 + *
1.34 + * Macro defining the Xinclude namespace: http://www.w3.org/2003/XInclude
1.35 + */
1.36 +#define XINCLUDE_NS (const xmlChar *) "http://www.w3.org/2003/XInclude"
1.37 +/**
1.38 + * XINCLUDE_OLD_NS:
1.39 + *
1.40 + * Macro defining the draftXinclude namespace: http://www.w3.org/2001/XInclude
1.41 + */
1.42 +#define XINCLUDE_OLD_NS (const xmlChar *) "http://www.w3.org/2001/XInclude"
1.43 +/**
1.44 + * XINCLUDE_NODE:
1.45 + *
1.46 + * Macro defining "include"
1.47 + */
1.48 +#define XINCLUDE_NODE (const xmlChar *) "include"
1.49 +/**
1.50 + * XINCLUDE_FALLBACK:
1.51 + *
1.52 + * Macro defining "fallback"
1.53 + */
1.54 +#define XINCLUDE_FALLBACK (const xmlChar *) "fallback"
1.55 +/**
1.56 + * XINCLUDE_HREF:
1.57 + *
1.58 + * Macro defining "href"
1.59 + */
1.60 +#define XINCLUDE_HREF (const xmlChar *) "href"
1.61 +/**
1.62 + * XINCLUDE_PARSE:
1.63 + *
1.64 + * Macro defining "parse"
1.65 + */
1.66 +#define XINCLUDE_PARSE (const xmlChar *) "parse"
1.67 +/**
1.68 + * XINCLUDE_PARSE_XML:
1.69 + *
1.70 + * Macro defining "xml"
1.71 + */
1.72 +#define XINCLUDE_PARSE_XML (const xmlChar *) "xml"
1.73 +/**
1.74 + * XINCLUDE_PARSE_TEXT:
1.75 + *
1.76 + * Macro defining "text"
1.77 + */
1.78 +#define XINCLUDE_PARSE_TEXT (const xmlChar *) "text"
1.79 +/**
1.80 + * XINCLUDE_PARSE_ENCODING:
1.81 + *
1.82 + * Macro defining "encoding"
1.83 + */
1.84 +#define XINCLUDE_PARSE_ENCODING (const xmlChar *) "encoding"
1.85 +/**
1.86 + * XINCLUDE_PARSE_XPOINTER:
1.87 + *
1.88 + * Macro defining "xpointer"
1.89 + */
1.90 +#define XINCLUDE_PARSE_XPOINTER (const xmlChar *) "xpointer"
1.91 +
1.92 +typedef struct _xmlXIncludeCtxt xmlXIncludeCtxt;
1.93 +typedef xmlXIncludeCtxt *xmlXIncludeCtxtPtr;
1.94 +
1.95 +/*
1.96 + * standalone processing
1.97 + */
1.98 +XMLPUBFUN int XMLCALL
1.99 + xmlXIncludeProcess (xmlDocPtr doc);
1.100 +XMLPUBFUN int XMLCALL
1.101 + xmlXIncludeProcessFlags (xmlDocPtr doc,
1.102 + int flags);
1.103 +XMLPUBFUN int XMLCALL
1.104 + xmlXIncludeProcessTree (xmlNodePtr tree);
1.105 +XMLPUBFUN int XMLCALL
1.106 + xmlXIncludeProcessTreeFlags(xmlNodePtr tree,
1.107 + int flags);
1.108 +/*
1.109 + * contextual processing
1.110 + */
1.111 +XMLPUBFUN xmlXIncludeCtxtPtr XMLCALL
1.112 + xmlXIncludeNewContext (xmlDocPtr doc);
1.113 +XMLPUBFUN int XMLCALL
1.114 + xmlXIncludeSetFlags (xmlXIncludeCtxtPtr ctxt,
1.115 + int flags);
1.116 +XMLPUBFUN void XMLCALL
1.117 + xmlXIncludeFreeContext (xmlXIncludeCtxtPtr ctxt);
1.118 +XMLPUBFUN int XMLCALL
1.119 + xmlXIncludeProcessNode (xmlXIncludeCtxtPtr ctxt,
1.120 + xmlNodePtr tree);
1.121 +#ifdef __cplusplus
1.122 +}
1.123 +#endif
1.124 +#endif /* XML_XINCLUDE_H */