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