public function getNodeAttribute($xPath,$atrName){
        $res = $this->content->xpath($xPath);
        if ($res !== null){
            foreach ($res as $set){
                return (string)$set[$atrName];

            }
        }

        return NULL;
    }