agentname . "
"; print $sxe->email . "
"; foreach ($sxe->allproperty->aproperty as $oneprop ) // loop through entries { $area = $oneprop->area; $type = $oneprop->type; $price = $oneprop->price; $visit = $oneprop->visit; print "$area $type $price $visit
"; } ?>