| 
 | DOMDocument::xincludeSubstitutes XIncludes in a DOMDocument Object Description
   public int DOMDocument::xinclude
    ([ int  $options] )This method substitutes » XIncludes in a DOMDocument object. 
 Return Values
   Returns the number of XIncludes in the document, -1 if some processing failed,
   or  Examples
 Example #1 DOMDocument::xinclude() example 
<?phpThe above example will output something similar to: 
<?xml version="1.0"?>
<chapter xmlns:xi="http://www.w3.org/2001/XInclude">
  <title>Books of the other guy..</title>
  <para>
    <row xml:base="/home/didou/book.xml">
       <entry>The Grapes of Wrath</entry>
       <entry>John Steinbeck</entry>
       <entry>en</entry>
       <entry>0140186409</entry>
      </row>
    <row xml:base="/home/didou/book.xml">
       <entry>The Pearl</entry>
       <entry>John Steinbeck</entry>
       <entry>en</entry>
       <entry>014017737X</entry>
      </row>
    <row xml:base="/home/didou/book.xml">
       <entry>Samarcande</entry>
       <entry>Amine Maalouf</entry>
       <entry>fr</entry>
       <entry>2253051209</entry>
      </row>
  </para>
</chapter>
 |