public function setDefaultNamespace($prefix = self::NAMESPACE_PREFIX, $uri = self::NAMESPACE_ENVIRONAUT_1_0)
    {
        $this->default_namespace_uri = $uri;
        $this->default_namespace_prefix = $prefix;

        $this->xpath->registerNamespace($prefix, $uri);
    }
public function setDefaultNamespace($prefix = self::NAMESPACE_PREFIX, $uri = self::NAMESPACE_ENVIRONAUT_1_0)
    {
        $this->default_namespace_uri = $uri;
        $this->default_namespace_prefix = $prefix;

        $this->xpath->registerNamespace($prefix, $uri);
    }
public function setDefaultNamespace ( $ prefix = self :: NAMESPACE_PREFIX , $ uri = self :: NAMESPACE_ENVIRONAUT_1_0 ) { $ this -> default_namespace_uri = $ uri ; $ this -> default_namespace_prefix = $ prefix ; $ this -> xpath -> registerNamespace ( $ prefix , $ uri ) ; }
Set the default namespace that should be used when accessing elements via
convenience methods and bind it to the internal xpath instance.

@param string $prefix default prefix to use
@param string $uri namespace URI
Set the default namespace that should be used when accessing elements via convenience methods and bind it to the internal xpath instance .