在线资源和服务类型应分离

This commit is contained in:
wlx 2011-12-03 09:05:58 +00:00
parent 704116c7e6
commit 4b12b9d70e
1 changed files with 1 additions and 1 deletions

View File

@ -316,7 +316,7 @@ class ISO19115
&& $src->getElementsByTagName('OnFunctCd')->item(0)->hasAttributes() && $src->getElementsByTagName('OnFunctCd')->item(0)->hasAttributes()
&& $src->getElementsByTagName('OnFunctCd')->item(0)->attributes->getNamedItem('value')->nodeValue=="offlineAccess") && $src->getElementsByTagName('OnFunctCd')->item(0)->attributes->getNamedItem('value')->nodeValue=="offlineAccess")
$this->datatype=1; $this->datatype=1;
else { {
//在线资源 //在线资源
$this->onlineresource[$k]['linkage']=$src->getElementsByTagName('linkage')->item(0)->nodeValue; $this->onlineresource[$k]['linkage']=$src->getElementsByTagName('linkage')->item(0)->nodeValue;
if ($src->getElementsByTagName('protocol')->item(0)) $this->onlineresource[$k]['protocol']=$src->getElementsByTagName('protocol')->item(0)->nodeValue; if ($src->getElementsByTagName('protocol')->item(0)) $this->onlineresource[$k]['protocol']=$src->getElementsByTagName('protocol')->item(0)->nodeValue;