getElementById()

byid/xmlid.php:
<?php
$file 
= (isset($argv[2])) ? $argv[2] : $_GET['file'];
$dom = new DomDocument();
$dom->load("../".$file.".txt");

$dom->getElementById("entry9999");

 
XPath © copyright 2004  Bitflux GmbH