Tryag File Manager
Home
-
Turbo Force
Current Path :
/
home
/
cluster1
/
data
/
bu01
/
1121861
/
html
/
jlex
/
botany
/
Upload File :
New :
File
Dir
/home/cluster1/data/bu01/1121861/html/jlex/botany/botany-table.xsl
<?xml version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method='xml' indent="yes" omit-xml-declaration="yes" doctype-public = "-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system = "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" /> <xsl:template match="/"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <title>Botany</title> <style type="text/css" media="all"> /* <![CDATA[ */ body {background:#fff;color:#464646;font-family:sans-serif;font-size:76%;} table {background:#c1c1c1;font-size:1.2em;border:1px solid #464646;} th {background:#d6d6d6;color:#111;font-size:1.1em;} tr {background:#fff;} .shaded {background:#efefef;} /* ]]> */ </style> </head> <body> <h1>Botany</h1> <table cellspacing="1" cellpadding="5" summary="Identified botany collections and where they were found."> <thead> <tr> <th scope="colgroup" colspan="2"> Collection </th> <th scope="colgroup" colspan="2"> Found At </th> </tr> <tr> <th scope="col">#</th> <th scope="col">Identified As</th> <th scope="col">North Latitude</th> <th scope="col">West Longitude</th> </tr> </thead> <tbody> <xsl:for-each select="resultset/colgroup"> <tr> <xsl:if test="position() mod 2 != 1"> <xsl:attribute name="style">background-color:#f3f3f3;</xsl:attribute> </xsl:if> <td scope="row" class="shaded"> <xsl:apply-templates select="col" /> </td> <td> <xsl:apply-templates select="sci" /> </td> <td> <xsl:apply-templates select="north"/> </td> <td> <xsl:apply-templates select="west"/> </td> </tr> </xsl:for-each> </tbody> </table> </body> </html> </xsl:template> <xsl:template match="search_string"/> <xsl:template match="col"> <i><xsl:value-of select="." /></i> </xsl:template> <xsl:template match="sci"> <xsl:copy-of select="node()" /> </xsl:template> <xsl:template match="north"> <xsl:value-of select="." /> </xsl:template> <xsl:template match="west"> <xsl:value-of select="." /> </xsl:template> </xsl:stylesheet>