Nazwy elementów dynamicznych SimpleXML

echo $xml->SLOT1->Effect;
echo $xml->SLOT2->Effect;
echo $xml->SLOT3->Effect;

Czy istnieje sposób na uproszczenie tego za pomocąfor pętla? Próbowałem tego, ale nic nie brzmi:

for ($x = 1; $x <= 3; $x++) {
   echo $xml->SLOT[$x]->Effect;
}