1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22:
requestinformation->inputs->firstname; $lastName = (stringa) $xml->requestinformation->inputs->lastname; eco “$firstName $lastName“; foreach ($xml->criminalinformation->records->record come $aRecord) { $category = (stringa) $aRecord->category; $fullName = (stringa) $aRecord->fullname; offensore di eco “: $fullName - $category“; foreach ($aRecord->aliases->alias come $anAlias) eco “{$anAlias->fullname}“; }