I have this:
[1]=>
object(SimpleXMLElement)#6 (1) {
[\"@attributes\"]=>
array(14) {
[\"name\"]=>
string(5) \"MySQL\"
[\"acknowledg
With SimpleXML, you can get :
$element->subElement
$element['attribute']
So, here, I'd say you'd have to use :
echo $child['name'];
As a reference, and for a couple of examples, see the Basic usage section of simplexml's manual.
Example #6 should be the interesting one, about attributes.