如何限制simplexml_load_file()的结果

I have this code working fine, but the result is unlimited. How to limit the result?

<form action="<?php  $_SERVER['PHP_SELF']; ?>" method="post">
            Keyword: <input type="text" name="keyword"  required>
            <input type="submit">
        </form>

<?php

if (isset($_POST["keyword"]) && $_POST['keyword'] !== "") {    
$alphas1 = range('A', 'Z');    
$alphas2 = range('A', 'Z');    
$keyword = $_POST['keyword'];    
foreach ($alphas1 as $a1) {        foreach ($alphas2 as $a2) {            
$xml = simplexml_load_file(utf8_encode("http://suggestqueries.google.com/complete/search?output=toolbar&hl=en&q=$keyword.' '.$a1.$a2"));            
foreach ($xml->children() as $child) {                               
foreach ($child->suggestion->attributes() as $dta) {                                        

echo $dta.", ";                                   
 }            }                    }    }} ?>