Station Information

load('./_dt/station_info_20120203.xml'); //$dom->load('./_dt/station_info_20121011.xml'); //$dom->load('./_dt/station_info_20140304.xml'); $dom->load('./_dt/station_info_20190130.xml'); $xpath = new domXPath($dom); $xpath->registerNamespace('s','http://example.org/station_info'); $rows=$xpath->query('/s:staion_info/*'); //全部出したい時はこちらで ?> childNodes as $item){ $d[$item->nodeName] = $item->nodeValue;//これで配列に入る } echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; } ?>
Station
(click for details)
Abbreviation Lat.
(deg.)
Lon.
(deg.)
Alt.
(m)
Cutt-Off Rigidity
(GV)
Monitor Data Coverage
(Click for data files)
" .$d['station']. "" .$d['abbreviation']. "" .$d['lat']. "" .$d['lon']. "" .$d['alt']. "" .$d['rc']. "" .$d['monitor']. "".$d['dcover']. "