public function getChildNodes()
    {
        $prefix = $this->ownerDocument->getDefaultNamespacePrefix();

        if ($prefix) {
            return $this->ownerDocument->getXpath()->query(sprintf('child::%s:*', $prefix), $this);
        } else {
            return $this->ownerDocument->getXpath()->query('child::*', $this);
        }
    }
public function getChildNodes()
    {
        $prefix = $this->ownerDocument->getDefaultNamespacePrefix();

        if ($prefix) {
            return $this->ownerDocument->getXpath()->query(sprintf('child::%s:*', $prefix), $this);
        } else {
            return $this->ownerDocument->getXpath()->query('child::*', $this);
        }
    }
public function getChildNodes ( ) { $ prefix = $ this -> ownerDocument -> getDefaultNamespacePrefix ( ) ; if ( $ prefix ) { return $ this -> ownerDocument -> getXpath ( ) -> query ( sprintf ( 'child::%s:*' , $ prefix ) , $ this ) ; } else { return $ this -> ownerDocument -> getXpath ( ) -> query ( 'child::*' , $ this ) ; } }
Returns a \DOMNodeList of all child elements of the element.

@return \DOMNodeList of all child elements
Returns a \ DOMNodeList of all child elements of the element .