添加时间点信息

This commit is contained in:
wlx 2010-01-14 05:10:52 +00:00
parent a45de44982
commit 3a1841990c
1 changed files with 5 additions and 0 deletions

View File

@ -408,6 +408,11 @@ class ISO19115
$this->timebegin=$period->getElementsByTagName('begin')->item(0)->nodeValue; $this->timebegin=$period->getElementsByTagName('begin')->item(0)->nodeValue;
$this->timeend=$period->getElementsByTagName('end')->item(0)->nodeValue; $this->timeend=$period->getElementsByTagName('end')->item(0)->nodeValue;
} }
$tm_day=$this->dom->getElementsByTagName('TM_CalDate');
foreach($tm_day as $day)
{
$this->timebegin=$day->getElementsByTagName('calDate')->item(0)->nodeValue;
}
//Todo:处理缩略图,限制为一个。 //Todo:处理缩略图,限制为一个。
//$thumb=$this->dom->getElementsByTagName('Thumbnail'); //$thumb=$this->dom->getElementsByTagName('Thumbnail');
$xpath = new DOMXPath($this->dom); $xpath = new DOMXPath($this->dom);