Tryag File Manager
Home
-
Turbo Force
Current Path :
/
home
/
cluster1
/
data
/
bu01
/
1121861
/
jlex
/
alignment
/
Upload File :
New :
File
Dir
//home/cluster1/data/bu01/1121861/jlex/alignment/to_html.xml
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" > <xsl:template match="alignment"> <xsl:variable name="file_name"><xsl:value-of select="file_name"/></xsl:variable> <TABLE> <TR><TH>Date: </TH><TD><xsl:value-of select="date"/></TD></TR> <TR><TH>Purpose: </TH><TD><xsl:value-of select="purpose"/></TD></TR> <TR><TD COLSPAN='2'><A target="_alignment"> <xsl:attribute name="href"><xsl:value-of select="concat('alignment/align.php4?function=db_result&file_name=',$file_name)"/> </xsl:attribute> Alignment </A></TD></TR> </TABLE> <TABLE width='800'> <xsl:if test="conclusions!=''"> <tr><th align='left'>Conclusions:</th></tr> <tr><td><xsl:value-of select='conclusions'/></td></tr> </xsl:if> <xsl:if test="plans!=''"> <tr><th align='left'>Plans:</th></tr> <tr><td><xsl:value-of select='plans'/></td></tr> </xsl:if> </TABLE> <br/><br/> <br/><br/> <br/><br/> <br/><br/> </xsl:template> <xsl:template match="RESULTSET"> <H2>Number of Results: <xsl:value-of select="@num_results"/></H2> <xsl:apply-templates select="alignment"/> </xsl:template> <xsl:template match="/"> <HTML> <HEAD> <TITLE>H. pylori Database Search Results</TITLE> <META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=iso-8859-1'></META> </HEAD> <BODY BGCOLOR='#FFFFFF' TEXT='#000000'> <FONT size="1"> <xsl:apply-templates select="//RESULTSET"/> </FONT> </BODY> </HTML> </xsl:template> </xsl:stylesheet>