function init($xml_string, $namespace_map)
    {
        if (!$this->setXML($xml_string)) {
            return false;
        }

        foreach ($namespace_map as $prefix => $uri) {
            if (!$this->registerNamespace($prefix, $uri)) {
                return false;
            }
        }

        return true;
    }
function init($xml_string, $namespace_map)
    {
        if (!$this->setXML($xml_string)) {
            return false;
        }

        foreach ($namespace_map as $prefix => $uri) {
            if (!$this->registerNamespace($prefix, $uri)) {
                return false;
            }
        }

        return true;
    }
function init ( $ xml_string , $ namespace_map ) { if ( ! $ this -> setXML ( $ xml_string ) ) { return false ; } foreach ( $ namespace_map as $ prefix => $ uri ) { if ( ! $ this -> registerNamespace ( $ prefix , $ uri ) ) { return false ; } } return true ; }
Initialize an instance of Auth_Yadis_XMLParser with some
XML and namespaces.  This SHOULD NOT be overridden by
subclasses.

@param string $xml_string A string of XML to be parsed.
@param array $namespace_map An array of ($ns_name => $ns_uri)
to be registered with the XML parser.  May be empty.
@return boolean $result True if the initialization and
namespace registration(s) succeeded; false otherwise.
Initialize an instance of Auth_Yadis_XMLParser with some XML and namespaces . This SHOULD NOT be overridden by subclasses .