getViStop.php 248 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 <?php /** * $Id: getViStop.php 2534 2014-10-02 16:17:30Z elena $ */ $dom = new DomDocument("1.0"); $dom->load(getenv('USER_DATA_PATH').'base.xml'); $vi = $dom->getElementById($argv[1]); echo $vi->getAttribute("stop"); exit(); ?>