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