<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output 
	doctype-public="-//WAPFORUM//DTD WML 1.1//EN" doctype-system="http://www.wapforum.org/DTD/wml_1.1.xml" 
	indent='yes'/> 
<xsl:template match='/'>
<wml> 
  <template> 
    <!-- Template implementation here. --> 
    <do type="prev"><prev/></do> 
    <do type="Indice"><go href='#indice' /> </do>
  </template> 

   <card id='indice' title='Indice'>      
    <p align="center"> 
	<xsl:for-each select='baraja/tarjeta'>
		*<a href='#{@id}'>Tarjeta <xsl:value-of select='@titulo' /> </a> <br />
        </xsl:for-each>
    </p> 
  </card>
  
  <xsl:apply-templates />
</wml> 
</xsl:template>

<xsl:template match='tarjeta'>
  <card id='{@id}' title='{@titulo}'>      
    <p align="center"> 
      <big><b><xsl:value-of select='.' /></b></big> 
    </p> 
  </card> 
</xsl:template>
</xsl:stylesheet>

