<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="xmlreader.expand" xmlns="http://docbook.org/ns/docbook">
 <refnamediv>
  <refname>XMLReader::expand</refname>
  <refpurpose>Returns a copy of the current node as a DOM object</refpurpose>
 </refnamediv>
 <refsect1 role="description">
  &reftitle.description;
  <methodsynopsis role="XMLReader">
   <modifier>public</modifier> <type class="union"><type>DOMNode</type><type>false</type></type><methodname>XMLReader::expand</methodname>
   <methodparam choice="opt"><type class="union"><type>DOMNode</type><type>null</type></type><parameter>baseNode</parameter><initializer>&null;</initializer></methodparam>
  </methodsynopsis>
  <para>
   This method copies the current node and returns the appropriate DOM object.
  </para>
 </refsect1>
 <refsect1 role="parameters">
  &reftitle.parameters;
  <para>
   <variablelist>
    <varlistentry>
     <term><parameter>baseNode</parameter></term>
     <listitem>
      <para>
       A <classname>DOMNode</classname> defining the target <classname>DOMDocument</classname> for the created DOM object.
      </para>
     </listitem>
    </varlistentry>
   </variablelist>
  </para>
 </refsect1>
 <refsect1 role="returnvalues">
  &reftitle.returnvalues;
  <para>
   The resulting <classname>DOMNode</classname> or &false; on error.
  </para>
 </refsect1> 

</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
