Diferencia entre revisiones de «Gambas/Manipular documentos XML»

Contenido eliminado Contenido añadido
Línea 108:
<th>Ability</th>
</tr>
< xsl : for-each select="characters/*" >
< xsl : choose>
< xsl : when test="position() mod 2 = 0">
< tr class="even">
< td>< xsl : value-of select="name" /></td>
< td>< xsl : value-of select="played_by" /></td>
< td>< xsl : value-of select="ability" /></td>
< /tr>
< /xsl : when>
< xsl : otherwise>
<tr class="odd">
< td><xsl : value-of select="name" />< /td>
< td><xsl : value-of select="played_by" />< /td>
< td><xsl : value-of select="ability" />< /td>
</tr>
< /xsl : otherwise>
< /xsl : choose>
< /xsl : for-each>
</table>
</body>