Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 1 | <HTML |
2 | ><HEAD | ||||
3 | ><TITLE | ||||
4 | >xinclude</TITLE | ||||
5 | ><META | ||||
6 | NAME="GENERATOR" | ||||
Daniel Veillard | 60087f3 | 2001-10-10 09:45:09 +0000 | [diff] [blame] | 7 | CONTENT="Modular DocBook HTML Stylesheet Version 1.64 |
8 | "><LINK | ||||
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 9 | REL="HOME" |
10 | TITLE="Gnome XML Library Reference Manual" | ||||
11 | HREF="book1.html"><LINK | ||||
12 | REL="UP" | ||||
13 | TITLE="Libxml Library Reference" | ||||
14 | HREF="libxml-lib.html"><LINK | ||||
15 | REL="PREVIOUS" | ||||
16 | TITLE="xpointer" | ||||
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 17 | HREF="libxml-xpointer.html"><LINK |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 18 | REL="NEXT" |
19 | TITLE="nanohttp" | ||||
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 20 | HREF="libxml-nanohttp.html"></HEAD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 21 | ><BODY |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 22 | CLASS="REFENTRY" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 23 | BGCOLOR="#FFFFFF" |
24 | TEXT="#000000" | ||||
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 25 | LINK="#0000FF" |
26 | VLINK="#840084" | ||||
27 | ALINK="#0000FF" | ||||
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 28 | ><DIV |
29 | CLASS="NAVHEADER" | ||||
30 | ><TABLE | ||||
31 | WIDTH="100%" | ||||
32 | BORDER="0" | ||||
33 | BGCOLOR="#000000" | ||||
34 | CELLPADDING="1" | ||||
35 | CELLSPACING="0" | ||||
36 | ><TR | ||||
37 | ><TH | ||||
38 | COLSPAN="4" | ||||
39 | ALIGN="center" | ||||
40 | ><FONT | ||||
41 | COLOR="#FFFFFF" | ||||
42 | SIZE="5" | ||||
43 | >Gnome XML Library Reference Manual</FONT | ||||
44 | ></TH | ||||
45 | ></TR | ||||
46 | ><TR | ||||
47 | ><TD | ||||
48 | WIDTH="25%" | ||||
49 | BGCOLOR="#C00000" | ||||
50 | ALIGN="left" | ||||
51 | ><A | ||||
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 52 | HREF="libxml-xpointer.html" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 53 | ><FONT |
54 | COLOR="#FFFFFF" | ||||
55 | SIZE="3" | ||||
56 | ><B | ||||
57 | ><<< Previous Page</B | ||||
58 | ></FONT | ||||
59 | ></A | ||||
60 | ></TD | ||||
61 | ><TD | ||||
62 | WIDTH="25%" | ||||
63 | BGCOLOR="#0000C0" | ||||
64 | ALIGN="center" | ||||
65 | ><FONT | ||||
66 | COLOR="#FFFFFF" | ||||
67 | SIZE="3" | ||||
68 | ><B | ||||
69 | ><A | ||||
70 | HREF="book1.html" | ||||
71 | ><FONT | ||||
72 | COLOR="#FFFFFF" | ||||
73 | SIZE="3" | ||||
74 | ><B | ||||
75 | >Home</B | ||||
76 | ></FONT | ||||
77 | ></A | ||||
78 | ></B | ||||
79 | ></FONT | ||||
80 | ></TD | ||||
81 | ><TD | ||||
82 | WIDTH="25%" | ||||
83 | BGCOLOR="#00C000" | ||||
84 | ALIGN="center" | ||||
85 | ><FONT | ||||
86 | COLOR="#FFFFFF" | ||||
87 | SIZE="3" | ||||
88 | ><B | ||||
89 | ><A | ||||
90 | HREF="libxml-lib.html" | ||||
91 | ><FONT | ||||
92 | COLOR="#FFFFFF" | ||||
93 | SIZE="3" | ||||
94 | ><B | ||||
95 | >Up</B | ||||
96 | ></FONT | ||||
97 | ></A | ||||
98 | ></B | ||||
99 | ></FONT | ||||
100 | ></TD | ||||
101 | ><TD | ||||
102 | WIDTH="25%" | ||||
103 | BGCOLOR="#C00000" | ||||
104 | ALIGN="right" | ||||
105 | ><A | ||||
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 106 | HREF="libxml-nanohttp.html" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 107 | ><FONT |
108 | COLOR="#FFFFFF" | ||||
109 | SIZE="3" | ||||
110 | ><B | ||||
111 | >Next Page >>></B | ||||
112 | ></FONT | ||||
113 | ></A | ||||
114 | ></TD | ||||
115 | ></TR | ||||
116 | ></TABLE | ||||
117 | ></DIV | ||||
118 | ><H1 | ||||
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 119 | ><A |
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 120 | NAME="LIBXML-XINCLUDE" |
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 121 | >xinclude</A |
122 | ></H1 | ||||
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 123 | ><DIV |
124 | CLASS="REFNAMEDIV" | ||||
125 | ><A | ||||
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 126 | NAME="AEN17193" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 127 | ></A |
128 | ><H2 | ||||
129 | >Name</H2 | ||||
Daniel Veillard | 503b893 | 2001-01-05 06:36:31 +0000 | [diff] [blame] | 130 | >xinclude -- </DIV |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 131 | ><DIV |
132 | CLASS="REFSYNOPSISDIV" | ||||
133 | ><A | ||||
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 134 | NAME="AEN17196" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 135 | ></A |
136 | ><H2 | ||||
137 | >Synopsis</H2 | ||||
138 | ><TABLE | ||||
139 | BORDER="0" | ||||
140 | BGCOLOR="#D6E8FF" | ||||
141 | WIDTH="100%" | ||||
142 | CELLPADDING="6" | ||||
143 | ><TR | ||||
144 | ><TD | ||||
145 | ><PRE | ||||
146 | CLASS="SYNOPSIS" | ||||
147 | > | ||||
148 | |||||
149 | int <A | ||||
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 150 | HREF="libxml-xinclude.html#XMLXINCLUDEPROCESS" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 151 | >xmlXIncludeProcess</A |
152 | > (<A | ||||
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 153 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 154 | >xmlDocPtr</A |
155 | > doc);</PRE | ||||
156 | ></TD | ||||
157 | ></TR | ||||
158 | ></TABLE | ||||
159 | ></DIV | ||||
160 | ><DIV | ||||
161 | CLASS="REFSECT1" | ||||
162 | ><A | ||||
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 163 | NAME="AEN17201" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 164 | ></A |
165 | ><H2 | ||||
166 | >Description</H2 | ||||
167 | ><P | ||||
168 | ></P | ||||
169 | ></DIV | ||||
170 | ><DIV | ||||
171 | CLASS="REFSECT1" | ||||
172 | ><A | ||||
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 173 | NAME="AEN17204" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 174 | ></A |
175 | ><H2 | ||||
176 | >Details</H2 | ||||
177 | ><DIV | ||||
178 | CLASS="REFSECT2" | ||||
179 | ><A | ||||
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 180 | NAME="AEN17206" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 181 | ></A |
182 | ><H3 | ||||
183 | ><A | ||||
184 | NAME="XMLXINCLUDEPROCESS" | ||||
185 | ></A | ||||
Daniel Veillard | 06622df | 2002-01-21 17:53:42 +0000 | [diff] [blame] | 186 | >>xmlXIncludeProcess ()</H3 |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 187 | ><TABLE |
188 | BORDER="0" | ||||
189 | BGCOLOR="#D6E8FF" | ||||
190 | WIDTH="100%" | ||||
191 | CELLPADDING="6" | ||||
192 | ><TR | ||||
193 | ><TD | ||||
194 | ><PRE | ||||
195 | CLASS="PROGRAMLISTING" | ||||
196 | >int xmlXIncludeProcess (<A | ||||
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 197 | HREF="libxml-tree.html#XMLDOCPTR" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 198 | >xmlDocPtr</A |
199 | > doc);</PRE | ||||
200 | ></TD | ||||
201 | ></TR | ||||
202 | ></TABLE | ||||
203 | ><P | ||||
204 | >Implement the XInclude substitution on the XML document <TT | ||||
205 | CLASS="PARAMETER" | ||||
206 | ><I | ||||
207 | >doc</I | ||||
208 | ></TT | ||||
209 | ></P | ||||
210 | ><P | ||||
211 | ></P | ||||
212 | ><DIV | ||||
213 | CLASS="INFORMALTABLE" | ||||
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 214 | ><A |
Daniel Veillard | 5f4b599 | 2002-02-20 10:22:49 +0000 | [diff] [blame] | 215 | NAME="AEN17214" |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 216 | ></A |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 217 | ><P |
218 | ></P | ||||
219 | ><TABLE | ||||
220 | BORDER="0" | ||||
221 | WIDTH="100%" | ||||
222 | BGCOLOR="#FFD0D0" | ||||
223 | CELLSPACING="0" | ||||
224 | CELLPADDING="4" | ||||
225 | CLASS="CALSTABLE" | ||||
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 226 | ><TBODY |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 227 | ><TR |
228 | ><TD | ||||
229 | WIDTH="20%" | ||||
230 | ALIGN="RIGHT" | ||||
231 | VALIGN="TOP" | ||||
232 | ><TT | ||||
233 | CLASS="PARAMETER" | ||||
234 | ><I | ||||
235 | >doc</I | ||||
236 | ></TT | ||||
Daniel Veillard | 3bbbe6f | 2001-05-03 11:15:37 +0000 | [diff] [blame] | 237 | > :</TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 238 | ><TD |
239 | WIDTH="80%" | ||||
240 | ALIGN="LEFT" | ||||
241 | VALIGN="TOP" | ||||
Daniel Veillard | 4b8328d | 2001-07-05 22:48:42 +0000 | [diff] [blame] | 242 | > an XML document</TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 243 | ></TR |
244 | ><TR | ||||
245 | ><TD | ||||
246 | WIDTH="20%" | ||||
247 | ALIGN="RIGHT" | ||||
248 | VALIGN="TOP" | ||||
249 | ><I | ||||
250 | CLASS="EMPHASIS" | ||||
251 | >Returns</I | ||||
252 | > :</TD | ||||
253 | ><TD | ||||
254 | WIDTH="80%" | ||||
255 | ALIGN="LEFT" | ||||
256 | VALIGN="TOP" | ||||
Daniel Veillard | cbaf399 | 2001-12-31 16:16:02 +0000 | [diff] [blame] | 257 | >0 if no substitution were done, -1 if some processing failed |
Daniel Veillard | 06622df | 2002-01-21 17:53:42 +0000 | [diff] [blame] | 258 | or the number of substitutions done.</TD |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 259 | ></TR |
Daniel Veillard | bed7b05 | 2001-05-19 14:59:49 +0000 | [diff] [blame] | 260 | ></TBODY |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 261 | ></TABLE |
262 | ><P | ||||
263 | ></P | ||||
264 | ></DIV | ||||
265 | ></DIV | ||||
266 | ></DIV | ||||
267 | ><DIV | ||||
268 | CLASS="NAVFOOTER" | ||||
269 | ><BR | ||||
270 | CLEAR="all"><BR><TABLE | ||||
271 | WIDTH="100%" | ||||
272 | BORDER="0" | ||||
273 | BGCOLOR="#000000" | ||||
274 | CELLPADDING="1" | ||||
275 | CELLSPACING="0" | ||||
276 | ><TR | ||||
277 | ><TD | ||||
278 | WIDTH="25%" | ||||
279 | BGCOLOR="#C00000" | ||||
280 | ALIGN="left" | ||||
281 | ><A | ||||
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 282 | HREF="libxml-xpointer.html" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 283 | ><FONT |
284 | COLOR="#FFFFFF" | ||||
285 | SIZE="3" | ||||
286 | ><B | ||||
287 | ><<< Previous Page</B | ||||
288 | ></FONT | ||||
289 | ></A | ||||
290 | ></TD | ||||
291 | ><TD | ||||
292 | WIDTH="25%" | ||||
293 | BGCOLOR="#0000C0" | ||||
294 | ALIGN="center" | ||||
295 | ><FONT | ||||
296 | COLOR="#FFFFFF" | ||||
297 | SIZE="3" | ||||
298 | ><B | ||||
299 | ><A | ||||
300 | HREF="book1.html" | ||||
301 | ><FONT | ||||
302 | COLOR="#FFFFFF" | ||||
303 | SIZE="3" | ||||
304 | ><B | ||||
305 | >Home</B | ||||
306 | ></FONT | ||||
307 | ></A | ||||
308 | ></B | ||||
309 | ></FONT | ||||
310 | ></TD | ||||
311 | ><TD | ||||
312 | WIDTH="25%" | ||||
313 | BGCOLOR="#00C000" | ||||
314 | ALIGN="center" | ||||
315 | ><FONT | ||||
316 | COLOR="#FFFFFF" | ||||
317 | SIZE="3" | ||||
318 | ><B | ||||
319 | ><A | ||||
320 | HREF="libxml-lib.html" | ||||
321 | ><FONT | ||||
322 | COLOR="#FFFFFF" | ||||
323 | SIZE="3" | ||||
324 | ><B | ||||
325 | >Up</B | ||||
326 | ></FONT | ||||
327 | ></A | ||||
328 | ></B | ||||
329 | ></FONT | ||||
330 | ></TD | ||||
331 | ><TD | ||||
332 | WIDTH="25%" | ||||
333 | BGCOLOR="#C00000" | ||||
334 | ALIGN="right" | ||||
335 | ><A | ||||
Daniel Veillard | 9cb5ff4 | 2001-01-29 08:22:21 +0000 | [diff] [blame] | 336 | HREF="libxml-nanohttp.html" |
Daniel Veillard | 9753ad7 | 2000-11-13 19:12:23 +0000 | [diff] [blame] | 337 | ><FONT |
338 | COLOR="#FFFFFF" | ||||
339 | SIZE="3" | ||||
340 | ><B | ||||
341 | >Next Page >>></B | ||||
342 | ></FONT | ||||
343 | ></A | ||||
344 | ></TD | ||||
345 | ></TR | ||||
346 | ><TR | ||||
347 | ><TD | ||||
348 | COLSPAN="2" | ||||
349 | ALIGN="left" | ||||
350 | ><FONT | ||||
351 | COLOR="#FFFFFF" | ||||
352 | SIZE="3" | ||||
353 | ><B | ||||
354 | >xpointer</B | ||||
355 | ></FONT | ||||
356 | ></TD | ||||
357 | ><TD | ||||
358 | COLSPAN="2" | ||||
359 | ALIGN="right" | ||||
360 | ><FONT | ||||
361 | COLOR="#FFFFFF" | ||||
362 | SIZE="3" | ||||
363 | ><B | ||||
364 | >nanohttp</B | ||||
365 | ></FONT | ||||
366 | ></TD | ||||
367 | ></TR | ||||
368 | ></TABLE | ||||
369 | ></DIV | ||||
370 | ></BODY | ||||
371 | ></HTML | ||||
372 | > |