Michael A. Peters wrote:
Here's the problem -
$attributes = $node->attributes;
creates a list that has both regular attributes and namespaced
attributes. But I don't know how to programatically tell them apart.
http://phpbuilder.com/manual/en/class.domattr.php
What would be really nice is if I could do
$attribute->namespace
the same way I could do
$attribute->name
and
$attribute->value
That would easily allow me to solve the problem.
Is there a reason why that isn't part of the DOMAttr class?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php