<?xml version="1.0" encoding="UTF-8"?>
<!--
Document : XMLDocumentoReq1.xsl
Created on : 19 de diciembre de 2011, 11:13
Author : manueldelavilla
Description:
Purpose of transformation follows.
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:output method="html"/>
        <!-- TODO customize transformation rules
        syntax recommendation http://www.w3.org/TR/xslt
        -->
        <xsl:template match="/">
            <table border="1">
                <tr>
                    <td><b>Nombre</b></td>
                    <td><b>Evento activ.</b></td>
                    <td><b>Frecuencia</b></td>
                    <td><b>Ud. Frec.</b></td>
                    <td><b>Precondición</b></td>
                    <td><b>Postcondición</b></td>
                    <td><b>Importancia</b></td>
                    <td><b>Urgencia</b></td>
                    <td><b>Est. Desarrollo</b></td>
                    <td><b>Estabilidad</b></td>
                </tr>
                <xsl:for-each select="//CasodeUso">
                    <tr>
                        <td><b><xsl:value-of select="nombre"/></b></td>
                        <td><font face="italic"><xsl:value-of select="eventoActivacion"/></font></td>
                        <td><font face="times new roman"><xsl:value-of select="frecuencia"/></font></td>
                        <td><xsl:value-of select="unidadFrecuencia"/></td>
                        <td><xsl:value-of select="precondicion"/></td>
                        <td><xsl:value-of select="postcondicion"/></td>
                        <td><xsl:value-of select="importancia"/></td>
                        <td><xsl:value-of select="urgencia"/></td>
                        <td><xsl:value-of select="estadodeDesarrollo"/></td>
                        <td><xsl:value-of select="estabilidad"/></td>
                    </tr>
                </xsl:for-each>
                <br></br>
                </table>

            <table border="1">
                    <tr>
                        <td><b>Nombre</b></td>
                        <td><b>autores</b></td>
                        <td><b>fuentes</b></td>
                        <td><b>esUsuario</b></td>
                        <td><b>esCliente</b></td>
                        <td><b>esDesarrollador</b></td>
                        <td><b>rol</b></td>
                        <td><b>organizacion</b></td>
                    </tr>
                    <xsl:for-each select="//participante">
                    <tr>
                        <td><b><xsl:value-of select="nombre"/></b></td>
                        <td><font face="italic"><xsl:value-of select="autores"/></font></td>
                        <td><font face="times new roman"><xsl:value-of select="fuentes"/></font></td>
                        <td><xsl:value-of select="esUsuario"/></td>
                        <td><xsl:value-of select="esCliente"/></td>
                        <td><xsl:value-of select="esDesarrollador"/></td>
                        <td><xsl:value-of select="rol"/></td>
                        <td><xsl:value-of select="organizacion"/></td>
                    </tr>
                </xsl:for-each>
                <br></br>
            </table>

            <table border="1">
                    <tr>
                        <td><b>Nombre</b></td>
                        <td><b>Autores</b></td>
                        <td><b>fuentes</b></td>
                        <td><b>Descripcion</b></td>
                        <td><b>comentario</b></td>
                        <td><b>importancia</b></td>
                        <td><b>urgencia</b></td>
                        <td><b>estado desarrollo</b></td>
                        <td><b>Estabilidad</b></td>
                    </tr>
                    <xsl:for-each select="//objetivos">
                    <tr>
                        <td><b><xsl:value-of select="nombre"/></b></td>
                        <td><font face="italic"><xsl:value-of select="autores"/></font></td>
                        <td><font face="times new roman"><xsl:value-of select="fuentes"/></font></td>
                        <td><xsl:value-of select="descripcion"/></td>
                        <td><xsl:value-of select="comentarios"/></td>
                        <td><xsl:value-of select="importancia"/></td>
                        <td><xsl:value-of select="urgencia"/></td>
                        <td><xsl:value-of select="estadoDes"/></td>
                        <td><xsl:value-of select="estabilidad"/></td>
                    </tr>
                </xsl:for-each>
                <br></br>
            </table>

            <table border="1">
                    <tr>
                        <td><b>Nombre</b></td>
                        <td><b>Autores</b></td>
                        <td><b>fuentes</b></td>
                        <td><b>resultado</b></td>
                        <td><b>lugar</b></td>
                        <td><b>comentario</b></td>
                        <td><b>asistentes</b></td>
                    </tr>
                    <xsl:for-each select="//reunion">
                    <tr>
                        <td><b><xsl:value-of select="nombre"/></b></td>
                        <td><font face="italic"><xsl:value-of select="autores"/></font></td>
                        <td><font face="times new roman"><xsl:value-of select="fuentes"/></font></td>
                        <td><xsl:value-of select="resultado"/></td>
                        <td><xsl:value-of select="lugar"/></td>
                        <td><xsl:value-of select="comentarios"/></td>
                        <td><xsl:value-of select="asistentes"/></td>
                    </tr>
                </xsl:for-each>
                <br></br>
            </table>
            
            <table border="1">
                    <tr>
                        <td><b>Nombre</b></td>
                        <td><b>Autores</b></td>
                        <td><b>fuentes</b></td>
                        <td><b>comentarios</b></td>
                        <td><b>importancia</b></td>
                        <td><b>urgencia</b></td>
                        <td><b>estadoDes</b></td>
                        <td><b>Estabilidad</b></td>
                        <td><b>Descripcion</b></td>
                    </tr>
                    <xsl:for-each select="//ReqFun">
                    <tr>
                        <td><b><xsl:value-of select="nombre"/></b></td>
                        <td><font face="italic"><xsl:value-of select="autores"/></font></td>
                        <td><font face="times new roman"><xsl:value-of select="fuentes"/></font></td>
                        <td><xsl:value-of select="comentarios"/></td>
                        <td><xsl:value-of select="importancia"/></td>
                        <td><xsl:value-of select="urgencia"/></td>
                        <td><xsl:value-of select="estadoDes"/></td>
                        <td><xsl:value-of select="estabilidad"/></td>
                        <td><xsl:value-of select="descripcion"/></td>
                    </tr>
                </xsl:for-each>
                <br></br>
            </table>

            <table border="1">
                    <tr>
                        <td><b>Nombre</b></td>
                        <td><b>Autores</b></td>
                        <td><b>fuentes</b></td>
                        <td><b>comentario</b></td>
                        <td><b>importancia</b></td>
                        <td><b>urgencia</b></td>
                        <td><b>estadoDes</b></td>
                        <td><b>Estabilidad</b></td>
                        <td><b>Descripcion</b></td>
                    </tr>
                    <xsl:for-each select="//ReqNoFun">
                    <tr>
                        <td><b><xsl:value-of select="nombre"/></b></td>
                        <td><font face="italic"><xsl:value-of select="autores"/></font></td>
                        <td><font face="times new roman"><xsl:value-of select="fuentes"/></font></td>
                        <td><xsl:value-of select="comentarios"/></td>
                        <td><xsl:value-of select="importancia"/></td>
                        <td><xsl:value-of select="urgencia"/></td>
                        <td><xsl:value-of select="estadoDes"/></td>
                        <td><xsl:value-of select="estabilidad"/></td>
                        <td><xsl:value-of select="descripcion"/></td>
                    </tr>
                </xsl:for-each>
                <br></br>
            </table>

             <table border="1">
                    <tr>
                        <td><b>Nombre</b></td>
                        <td><b>Autores</b></td>
                        <td><b>fuentes</b></td>
                        <td><b>comentario</b></td>
                        <td><b>importancia</b></td>
                        <td><b>urgencia</b></td>
                        <td><b>estado desarrollo</b></td>
                        <td><b>Estabilidad</b></td>
                        <td><b>Descripcion</b></td>
                    </tr>
                    <xsl:for-each select="//ReqRestri">
                    <tr>
                        <td><b><xsl:value-of select="nombre"/></b></td>
                        <td><font face="italic"><xsl:value-of select="autores"/></font></td>
                        <td><font face="times new roman"><xsl:value-of select="fuentes"/></font></td>
                        <td><xsl:value-of select="comentarios"/></td>
                        <td><xsl:value-of select="importancia"/></td>
                        <td><xsl:value-of select="urgencia"/></td>
                        <td><xsl:value-of select="estadoDes"/></td>
                        <td><xsl:value-of select="estabilidad"/></td>
                        <td><xsl:value-of select="descripcion"/></td>
                    </tr>
                </xsl:for-each>
                <br></br>
            </table>

            <table border="1">
                    <tr>
                        <td><b>Nombre</b></td>
                        <td><b>Autores</b></td>
                        <td><b>fuentes</b></td>
                        <td><b>comentario</b></td>
                        <td><b>importancia</b></td>
                        <td><b>urgencia</b></td>
                        <td><b>estado desarrollo</b></td>
                        <td><b>Estabilidad</b></td>
                        <td><b>conceptoRelevante</b></td>
                        <td><b>tiempoMaxVida</b></td>
                        <td><b>tiempoMedVida</b></td>
                        <td><b>unidadFreqMax</b></td>
                        <td><b>unidadFreqMed</b></td>
                        <td><b>numOcurrencia</b></td>
                        <td><b>numMedio</b></td>
                    </tr>
                    <xsl:for-each select="//ReqInf">
                    <tr>
                        <td><b><xsl:value-of select="nombre"/></b></td>
                        <td><font face="italic"><xsl:value-of select="autores"/></font></td>
                        <td><font face="times new roman"><xsl:value-of select="fuentes"/></font></td>
                        <td><xsl:value-of select="comentarios"/></td>
                        <td><xsl:value-of select="importancia"/></td>
                        <td><xsl:value-of select="urgencia"/></td>
                        <td><xsl:value-of select="estadodeDesarrollo"/></td>
                        <td><xsl:value-of select="estabilidad"/></td>
                        <td><xsl:value-of select="conceptoRelevante"/></td>
                        <td><xsl:value-of select="tiempoMaxVida"/></td>
                        <td><xsl:value-of select="tiempoMedVida"/></td>
                        <td><xsl:value-of select="unidadFreqMax"/></td>
                        <td><xsl:value-of select="unidadFreqMed"/></td>
                        <td><xsl:value-of select="numOcurrencias"/></td>
                        <td><xsl:value-of select="numMedio"/></td>
                    </tr>
                </xsl:for-each>
                <br></br>
            </table>
          </xsl:template>
</xsl:stylesheet>
