在线资源和服务类型应分离
This commit is contained in:
parent
704116c7e6
commit
4b12b9d70e
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue