asi seria:
http://creaelicita.cl/ayuda/foro_1117035_v3.php Código PHP:
<?
$xml = simplexml_load_file("http://ws1.incasports.com/reporte/logrosdeporte.php?liga=nba");
$juegos=$xml->juego;
?>
<table border="1" cellpadding="0" cellspacing="0" >
<tr>
<td style="width: 200px">Equipo </td>
<td style="width: 200px">Referencia</td>
<td style="width: 200px">Money Line</td>
<td style="width: 200px">Run Line</td>
<td style="width: 200px">A/B</td>
</tr>
<?
foreach( $juegos as $node ){
$atrib_equi[]=$node->equipo1->attributes();
$atrib_equi[]=$node->equipo2->attributes();
foreach($atrib_equi as $at){
?>
<tr>
<td style="height: 5px"><?=$at['nombre']?></td>
<td><?=$at['referencia']?></td>
<td><?=$at['ml']?></td>
<td><?=$at['rl']?></td>
<td><?=str_replace(".5"," 1/2",$at['ab'])?></td>
</tr>
<? }
unset($atrib_equi);
}
?>
</table>