[PHP] about SimpleXMLElement.

2008-11-22 Thread LKSunny
?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

Re: [PHP] about SimpleXMLElement.

2008-11-22 Thread Yeti
There are some nice SimpleXML examples at php.net, one of them also covers handling attributes ... http://in.php.net/manual/en/simplexml.examples.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php