1 * Summary: implementation of XInclude
2 * Description: API to handle XInclude processing,
4 * World Wide Web Consortium Last Call Working Draft 10 November 2003
5 * http://www.w3.org/TR/2003/WD-xinclude-20031110
7 * Copy: See Copyright for the status of this software.
9 * Author: Patrick Monnerat <pm@datasphere.ch>, DATASPHERE S.A.
11 /if not defined(XML_XINCLUDE_H__)
12 /define XML_XINCLUDE_H__
14 /include "libxmlrpg/xmlversion"
15 /include "libxmlrpg/tree"
17 /if defined(LIBXML_XINCLUDE_ENABLED)
21 * Macro defining the Xinclude namespace: http://www.w3.org/2003/XInclude
23 d XINCLUDE_NS c 'http://www.w3.org/2003/XInclude'
28 * Define the draft Xinclude namespace: http://www.w3.org/2001/XInclude
31 d c 'http://www.w3.org/2001/XInclude'
35 * Macro defining "include"
37 d XINCLUDE_NODE c 'include'
41 * Macro defining "fallback"
43 d XINCLUDE_FALLBACK...
48 * Macro defining "href"
50 d XINCLUDE_HREF c 'href'
54 * Macro defining "parse"
56 d XINCLUDE_PARSE c 'parse'
60 * Macro defining "xml"
62 d XINCLUDE_PARSE_XML...
65 * XINCLUDE_PARSE_TEXT:
67 * Macro defining "text"
69 d XINCLUDE_PARSE_TEXT...
72 * XINCLUDE_PARSE_ENCODING:
74 * Macro defining "encoding"
76 d XINCLUDE_PARSE_ENCODING...
79 * XINCLUDE_PARSE_XPOINTER:
81 * Macro defining "xpointer"
83 d XINCLUDE_PARSE_XPOINTER...
86 d xmlXIncludeCtxtPtr...
87 d s * based(######typedef######)
89 * standalone processing
91 d xmlXIncludeProcess...
92 d pr 10i 0 extproc('xmlXIncludeProcess')
93 d doc value like(xmlDocPtr)
95 d xmlXIncludeProcessFlags...
96 d pr 10i 0 extproc('xmlXIncludeProcessFlags')
97 d doc value like(xmlDocPtr)
100 d xmlXIncludeProcessFlagsData...
102 d 'xmlXIncludeProcessFlagsData')
103 d doc value like(xmlDocPtr)
105 d data * value void *
107 d xmlXIncludeProcessTreeFlagsData...
109 d 'xmlXIncludeProcessTreeFlagsData')
110 d tree value like(xmlNodePtr)
112 d data * value void *
114 d xmlXIncludeProcessTree...
115 d pr 10i 0 extproc('xmlXIncludeProcessTree')
116 d tree value like(xmlNodePtr)
118 d xmlXIncludeProcessTreeFlags...
120 d 'xmlXIncludeProcessTreeFlags')
121 d tree value like(xmlNodePtr)
125 * contextual processing
127 d xmlXIncludeNewContext...
128 d pr extproc('xmlXIncludeNewContext')
129 d like(xmlXIncludeCtxtPtr)
130 d doc value like(xmlDocPtr)
132 d xmlXIncludeSetFlags...
133 d pr 10i 0 extproc('xmlXIncludeSetFlags')
134 d ctxt value like(xmlXIncludeCtxtPtr)
137 d xmlXIncludeFreeContext...
138 d pr extproc('xmlXIncludeFreeContext')
139 d ctxt value like(xmlXIncludeCtxtPtr)
141 d xmlXIncludeProcessNode...
142 d pr 10i 0 extproc('xmlXIncludeProcessNode')
143 d ctxt value like(xmlXIncludeCtxtPtr)
144 d tree value like(xmlNodePtr)
146 /endif XINCLUDE_ENABLED
147 /endif XML_XINCLUDE_H__