From: Jean-Marc V. <jm...@us...> - 2004-04-02 17:38:09
|
Update of /cvsroot/exist/eXist-1.0/webapp/xse/stylesheets/db/foc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1159/stylesheets/db/foc Modified Files: display.xslt Log Message: add indication of Genus/Family Index: display.xslt =================================================================== RCS file: /cvsroot/exist/eXist-1.0/webapp/xse/stylesheets/db/foc/display.xslt,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** display.xslt 18 Feb 2004 20:34:37 -0000 1.5 --- display.xslt 2 Apr 2004 17:25:44 -0000 1.6 *************** *** 90,95 **** <xsl:template match="*[local-name()='rank_id']" mode="wwbota-classic" > ! rank_id: <xsl:value-of select='.'/>; </xsl:template> <xsl:template match="*[local-name()='taxon_date']" mode="wwbota-classic" > taxon date: <xsl:value-of select='.'/>; --- 90,100 ---- <xsl:template match="*[local-name()='rank_id']" mode="wwbota-classic" > ! <!-- rank_id: <xsl:value-of select='.'/>; --> ! <xsl:choose> ! <xsl:when test=". = '125' "> <span style="color:brown" class='rank_id' > - Family </span>; </xsl:when> ! <xsl:when test=". = '135' "> <span style="color:brown" class='rank_id' > - Genus </span>; </xsl:when> ! </xsl:choose> </xsl:template> + <xsl:template match="*[local-name()='taxon_date']" mode="wwbota-classic" > taxon date: <xsl:value-of select='.'/>; |