PHP Manual

  • English French German Portuguese Spanish
PHP Manual Function Reference XML Manipulation XMLReader XMLReader XMLReader::expand
XMLReader XMLReader::close XMLReader::expand XMLReader::getAttribute XMLReader::getAttributeNo XMLReader::getAttributeNs XMLReader::getParserProperty XMLReader::isValid XMLReader::lookupNamespace XMLReader::moveToAttribute XMLReader::moveToAttributeNo XMLReader::moveToAttributeNs XMLReader::moveToElement XMLReader::moveToFirstAttribute XMLReader::moveToNextAttribute XMLReader::next XMLReader::open XMLReader::read XMLReader::readInnerXML XMLReader::readOuterXML XMLReader::readString XMLReader::setParserProperty XMLReader::setRelaxNGSchema XMLReader::setRelaxNGSchemaSource XMLReader::setSchema XMLReader::XML
  • XMLReader::close
  • XMLReader::getAttribute

XMLReader::expand

(PHP 5 >= 5.1.0)

XMLReader::expand — Returns a copy of the current node as a DOM object

Description

public DOMNode XMLReader::expand ([ DOMNode $basenode ] )

This method copies the current node and returns the appropriate DOM object.

Parameters

basenode

A DOMNode defining the target DOMDocument for the created DOM object.

Return Values

The resulting DOMNode or FALSE on error.

Changelog

Version Description
5.3.0 The parameter 'basenode' was added.

© Copyright © 2001-2015 The PHP Group.

© Copyright 2014. Diseñado por PHP Manual usando jfCMS.