diff --git a/application/models/ISO19115.php b/application/models/ISO19115.php index 8b48be40..7af9929a 100755 --- a/application/models/ISO19115.php +++ b/application/models/ISO19115.php @@ -236,6 +236,22 @@ class ISO19115 $this->author[$cnt+$m]['country']=$author->getElementsByTagName('country')->item(0)->nodeValue; $this->author[$cnt+$m]['role']=$author->getElementsByTagName('RoleCd')->item(0)->attributes->getNamedItem('value')->nodeValue; } + $cnt+=$m+1; + $authors=$this->dom->getElementsByTagName('idPoC'); + foreach($authors as $m=>$author) + { + $this->author[$cnt+$m]['individual']=$author->getElementsByTagName('rpIndName')->item(0)->nodeValue; + $this->author[$cnt+$m]['organisation']=$author->getElementsByTagName('rpOrgName')->item(0)->nodeValue; + $this->author[$cnt+$m]['position']=$author->getElementsByTagName('rpPosName')->item(0)->nodeValue; + $this->author[$cnt+$m]['delivery']=$author->getElementsByTagName('delPoint')->item(0)->nodeValue; + $this->author[$cnt+$m]['phone']=$author->getElementsByTagName('voiceNum')->item(0)->nodeValue; + $this->author[$cnt+$m]['email']=$author->getElementsByTagName('eMailAdd')->item(0)->nodeValue; + $this->author[$cnt+$m]['postal']=$author->getElementsByTagName('postCode')->item(0)->nodeValue; + $this->author[$cnt+$m]['city']=$author->getElementsByTagName('city')->item(0)->nodeValue; + $this->author[$cnt+$m]['administrative']=$author->getElementsByTagName('adminArea')->item(0)->nodeValue; + $this->author[$cnt+$m]['country']=$author->getElementsByTagName('country')->item(0)->nodeValue; + $this->author[$cnt+$m]['role']=$author->getElementsByTagName('RoleCd')->item(0)->attributes->getNamedItem('value')->nodeValue; + } /* foreach($authors as $author) {