Ciao a tutti,
ho un xml di questo tipo (semplificato):
Come faccio a vestirlo con un XSLT in modo tale che i vari prodotti si visualizzino in una tabella con n righe e 2 colonne.Codice PHP:<prodotto>testo</prodotto>
<prodotto>testo</prodotto>
<prodotto>testo</prodotto>
...
Cioè
GrazieCodice PHP:<table>
<tr>
<td>prodotto 1</td>
<td>prodotto 2</td>
</tr>
<tr>
<td>prodotto 3</td>
<td>prodotto 4</td>
</tr>
</table>

Rispondi quotando