Update of /cvsroot/pfc-prolog/prolix/web/xsl
In directory sc8-pr-cvs1:/tmp/cvs-serv387/web/xsl
Added Files:
solution.xslt
Log Message:
Added web client to proyect
--- NEW FILE: solution.xslt ---
<xslt:stylesheet xmlns:xslt="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xslt:template match="result">
<xslt:choose>
<xslt:when test="@number">
<h2> Solucion <xslt:value-of select="@number"/> </h2>
<xslt:if test="substitution" >
<UL>
<xslt:apply-templates select="substitution"/>
</UL>
</xslt:if>
</xslt:when>
<xslt:otherwise>
<h2> Solucion </h2>
No
</xslt:otherwise>
</xslt:choose>
</xslt:template>
<xslt:template match="substitution">
<LI><TT> <xslt:value-of select="@variable"/> |
<xslt:value-of select="@value"/> </TT></LI>
</xslt:template>
</xslt:stylesheet>
|