attributes() as $key => $value) { if ($key == 'href') { $this->sac_erroruri = (string)$value; } } // Set error summary & verbose description, if available if(isset($sac_dr->children($sac_ns['atom'])->summary)) { $this->sac_error_summary = (string)$sac_dr->children($sac_ns['atom'])->summary; } if(isset($sac_dr->children($sac_ns['sword'])->verboseDescription)) { $this->sac_verbose_description = (string)$sac_dr->children($sac_ns['sword'])->verboseDescription; } } } ?>