<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:rs='urn:schemas-microsoft-com:rowset' xmlns:z='#RowsetSchema'
    version="1.0">
    
    <xsl:output method="html" indent="yes" omit-xml-declaration="yes"/>
    
    <xsl:template match="/data">
        
        <table border="0" width="95%" id="table73" >
            <xsl:apply-templates select="row"/>
            <tr><td> </td></tr>
            <tr><td>
                <a style="color: #990000;font-weight:bold;" href="./Todas_es.aspx">
                 
                    Ver todas las consultas
                </a>
                
            </td></tr>
            
            
            
        </table>	
    </xsl:template>
    
    <xsl:template match="row">
        <tr><td>
            <a style="color: #990000;font-weight:bold;">
                <xsl:attribute name="href">
                    <xsl:value-of select="FileRef"/>
                </xsl:attribute>
                <xsl:value-of select="Title" />
            </a>
            
          </td></tr>
        <tr>
            <td colspan="2">
                <xsl:value-of select="substring-before(FechaConsulta,' ')"/> | Por: <span style="color: #990000;"><xsl:value-of select="Solicitante" /></span> | Categoría: <span style="color: #990000;"><xsl:value-of select="substring-after(Categoria,'#')"/></span>
            </td>
        </tr>
    </xsl:template>
    </xsl:stylesheet>
