Diferencia entre revisiones de «Gambas/Manipular documentos XML»

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