public function getElement($name)
    {
        if ($this->isEnvironautDocument()) {
            foreach ($this->documentElement->childNodes as $node) {
                if ($node->nodeType == XML_ELEMENT_NODE &&
                    $node->localName == $name &&
                    $node->namespaceURI == $this->documentElement->namespaceURI
                ) {
                    return $node;
                }
            }
        }

        return null;
    }
public function getElement($name)
    {
        if ($this->isEnvironautDocument()) {
            foreach ($this->documentElement->childNodes as $node) {
                if ($node->nodeType == XML_ELEMENT_NODE &&
                    $node->localName == $name &&
                    $node->namespaceURI == $this->documentElement->namespaceURI
                ) {
                    return $node;
                }
            }
        }

        return null;
    }
public function getElement ( $ name ) { if ( $ this -> isEnvironautDocument ( ) ) { foreach ( $ this -> documentElement -> childNodes as $ node ) { if ( $ node -> nodeType == XML_ELEMENT_NODE && $ node -> localName == $ name && $ node -> namespaceURI == $ this -> documentElement -> namespaceURI ) { return $ node ; } } } return null ; }
Returns the DomElement with the given name.

@param string $name of the element to get

@return DomElement of that name or null if does not exist in the Environaut namespace
Returns the DomElement with the given name .