public function getNodeAttributeBool($xPath,$atrName,$failReturn = false){
        $val = $this->getNodeAttribute($xPath, $atrName);
        // string sets true/false
        if (strtolower($val) === 'false'){
            return false;
        }
        if (strtolower($val) === 'true'){
            return true;
        }
        if ($val === NULL || !is_bool($val)){

            return $failReturn;
        }
        return (bool) $val;
    }
public function getNodeAttributeBool($xPath,$atrName,$failReturn = false){
        $val = $this->getNodeAttribute($xPath, $atrName);
        // string sets true/false
        if (strtolower($val) === 'false'){
            return false;
        }
        if (strtolower($val) === 'true'){
            return true;
        }
        if ($val === NULL || !is_bool($val)){

            return $failReturn;
        }
        return (bool) $val;
    }
public function getNodeAttributeBool ( $ xPath , $ atrName , $ failReturn = false ) { $ val = $ this -> getNodeAttribute ( $ xPath , $ atrName ) ; // string sets true/false if ( strtolower ( $ val ) === 'false' ) { return false ; } if ( strtolower ( $ val ) === 'true' ) { return true ; } if ( $ val === NULL || ! is_bool ( $ val ) ) { return $ failReturn ; } return ( bool ) $ val ; }
return node attribut value in boolean
@param type $xPath
@param type $atrName
@param type $failReturn
@return boolean
return node attribut value in boolean