simplexml_load_string()の挙動

[0] => SimpleXMLElement Object
    (
        [name] => aaa
    )
[1] => SimpleXMLElement Object
    (
        [name] => bbb
    )
[1] => SimpleXMLElement Object
    (
        [name] => ccc
    )

の様なxmlをsimplexml_load_string()でパースした場合、

<?php
print (string)$xml[0]->name;

の様にアクセスできる。

xmlが一次元の場合

[0] => SimpleXMLElement Object
    (
        [name] => aaa
    )
<?php
print (string)$xml->name;

となる。