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