Why can't I filter results on the attribute value rather than the index?
Something like this fails.
foreach ($portfolio->clientGroup[$id]->client['name=foo']->src as $src) { echo $src . '<br />'; } But this works.
foreach ($portfolio->clientGroup[$id]->client[0]->src as $src) { echo $src . '<br />'; }