about SimpleXMLElement.

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

 



<?xml version='1.0' encoding='UTF-8'?>
<array>
<aa:bb a='1' b='2' />
</array>

how can i get a=1 and b=2 in PHP ?
i know SimpleXMLElement->attributes();
however i don't know how to get attributes in tag "aa:bb"

............->array->aa:bb->attributes();
that will error.

Thank You Very Much. 



-- 
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