添加放跳过错误功能

This commit is contained in:
wlx 2012-05-04 08:58:22 +00:00
parent 1d1dc3c007
commit 525e83c303
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ class ISO19115
$this->author[$k]['city']=$author->getElementsByTagName('city')->item(0)->nodeValue; $this->author[$k]['city']=$author->getElementsByTagName('city')->item(0)->nodeValue;
$this->author[$k]['administrative']=$author->getElementsByTagName('adminArea')->item(0)->nodeValue; $this->author[$k]['administrative']=$author->getElementsByTagName('adminArea')->item(0)->nodeValue;
$this->author[$k]['country']=$author->getElementsByTagName('country')->item(0)->nodeValue; $this->author[$k]['country']=$author->getElementsByTagName('country')->item(0)->nodeValue;
$this->author[$k]['role']=$author->getElementsByTagName('RoleCd')->item(0)->attributes->getNamedItem('value')->nodeValue; @$this->author[$k]['role']=$author->getElementsByTagName('RoleCd')->item(0)->attributes->getNamedItem('value')->nodeValue;
} }
$cnt=$k+1; $cnt=$k+1;
$authors=$this->dom->getElementsByTagName('mdContact'); $authors=$this->dom->getElementsByTagName('mdContact');