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>
Línea 116:
< td><xsl:value-of select="ability" /></td>
< /tr>
< /xsl :when>
< xsl :otherwise>
<tr class="odd">
<td><xsl:value-of select="name" /></td>
Línea 123:
<td><xsl:value-of select="ability" /></td>
</tr>
< /xsl :otherwise>
< /xsl :choose>
< /xsl :for-each>
</table>
</body>