public function isCompatibleVersion()
    {
        $return = false;

        while ($this->read() && !$return) {
            $return = ($this->nodeType === \XMLReader::ELEMENT) && $this->hasAttributes &&
                ($this->getAttribute('version') === '1.4.4');
        } // while

        return $return;
    }
public function isCompatibleVersion()
    {
        $return = false;

        while ($this->read() && !$return) {
            $return = ($this->nodeType === \XMLReader::ELEMENT) && $this->hasAttributes &&
                ($this->getAttribute('version') === '1.4.4');
        } // while

        return $return;
    }
public function isCompatibleVersion ( ) { $ return = false ; while ( $ this -> read ( ) && ! $ return ) { $ return = ( $ this -> nodeType === \ XMLReader :: ELEMENT ) && $ this -> hasAttributes && ( $ this -> getAttribute ( 'version' ) === '1.4.4' ) ; } // while return $ return ; }
Returns true, if the model is of the right version.
@return bool
@todo   This method changes the position of the xml cursor!
Returns true if the model is of the right version .