SimpleXMLElement xpath

foreach ( $sxe->xpath('//object') as $character ) {
        echo $character->name;
}
Will render the object elements in the SimpleXMLElement. Cuts down on unneccessary $sxe->selector->selector stuff.