November 24th, 2003

Zoner en fuego!

Need help with PHP DOMXML - get_elements_by_tagname

I'm having some issues with PHP DOMXML - in particular the get_elements_by_tagname method. Now, the PGP docs on this are, well, sparse, so maybe I'm just doing something stupid. I thought this method would behave like the 'findnodes' XML method in Perl. Namely that you can pass it an xpath statement and it will find nodes that match:
$array = $node->get_elements_by_tagname($xpath);
Collapse )
Thanks.
  • Current Music
    office buzz