DOMDocument getElementsByAttribute ??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Seems like such a function does not exist in php.
I can write my own function that does it using DOMElement->hasAttribute() - but I'm not sure how to get an array of every element in the DOM to test them for the attribute.

Any hints?

I'm sure it's simple, I'm just not seeing the function that does it.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux