alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  
</TR> <TR> <TD colspan="2" height="22" class="testoBianco" bgcolor="#697791">  </TD> </TR> <!-- Test whether the user has choosen a specific help topic or wants to display the whole help file --> <xsl:choose> <xsl:when test="/USERMODEL/STATEDATA/VAR[@name='helptopic']"> <xsl:apply-templates select="/USERMODEL/help/helptopic[@id = /USERMODEL/STATEDATA/VAR[@name='helptopic']/@value]"/> </xsl:when> <xsl:otherwise> <xsl:apply-templates select="/USERMODEL/help/helptopic"/> </xsl:otherwise> </xsl:choose> <TR> <TD height="22" width="11%" bgcolor="#A6B1C0">  </TD> <TD height="22" class="testo" width="89%" bgcolor="#E2E6F0"> Ce système utilise <xsl:apply-templates select="/USERMODEL/STATEDATA/VAR[@name='java virtual machine']"/> sous
WebMail <xsl:apply-templates select="/USERMODEL/STATEDATA/VAR[@name='webmail version']"/> (c)1999-@year@ by Sebastian Schaffert, schaffer@informatik.uni-muenchen.de </TD> </TR> </TABLE> </BODY> </HTML> </xsl:template> <xsl:template match="/USERMODEL/STATEDATA/VAR"> <xsl:value-of select="@value"/> </xsl:template> <xsl:template match="helptopic"> <TR> <A NAME="{@id}"/> <TD rowspan="2" width="11%" valign="top" bgcolor="#A6B1C0"> <xsl:if test="icon"> <IMG SRC="{$imgbase}/images/{icon/@href}" BORDER="0"/> </xsl:if>  </TD> <TD class="testo" width="89%" bgcolor="#E2E6F0" valign="top"> <SPAN class="testoGrande"> <xsl:value-of select="@title"/> </SPAN> </TD> </TR> <TR> <TD class="testo" width="89%" bgcolor="#D1D7E7" valign="top"> <xsl:apply-templates select="helpdata"/> <P class="testo" align="justify"> <SPAN class="bold">Autres références: </P> </TD> </TR> </xsl:template> <xsl:template match="helpdata"> <xsl:apply-templates/> </xsl:template> <xsl:template match="p"> <P align="justify" class="testo"> <xsl:apply-templates/> </P> </xsl:template> <xsl:template match="br"> <BR/> </xsl:template> <xsl:template match="ul"> <UL> <xsl:apply-templates/> </UL> </xsl:template> <xsl:template match="bold"> <SPAN class="bold"> <xsl:apply-templates/> </SPAN> </xsl:template> <xsl:template match="li"> <LI> </xsl:template> <xsl:template match="note"> <TABLE width="100%" border="0" cellspacing="0" cellpadding="4"> <TR> <TD width="6%" class="testo" valign="top"> <SPAN class="bold">Note: </TD> <TD width="94%" class="testo" bgcolor="#3399FF" valign="top"> <xsl:apply-templates/> </TD> </TR> </TABLE> </xsl:template> <xsl:template match="warning"> <TABLE width="100%" border="0" cellspacing="0" cellpadding="4"> <TR> <TD width="6%" class="testo" valign="top"> <SPAN class="bold">Warning: </TD> <TD width="94%" class="testo" bgcolor="#FF9933" valign="top"> <xsl:apply-templates/> </TD> </TR> </TABLE> </xsl:template> <xsl:template match="ref"> <xsl:variable name="href" select="@ref-id"/> <xsl:choose> <xsl:when test="/USERMODEL/STATEDATA/VAR[@name='helptopic']"> <A HREF="{$base}/help?session-id={$session-id}&helptopic={$href}">, </xsl:when> <xsl:otherwise> <A HREF="#{$href}">, </xsl:otherwise> </xsl:choose> </xsl:template> </xsl:stylesheet>

What this is

This file is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Other links

The source code

<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
 * Copyright (C) 2000 Sebastian Schaffert
 * 
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-->
<!-- This is part of the French translation of WebMail - Christian SENET - senet@lpm.u-nancy.fr - 2002 -->

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  <xsl:output method="html" indent="yes"/>

    <xsl:variable name="imgbase" select="/USERMODEL/STATEDATA/VAR[@name='img base uri']/@value"/>
    <xsl:variable name="base" select="/USERMODEL/STATEDATA/VAR[@name='base uri']/@value"/>
    <xsl:variable name="session-id" select="/USERMODEL/STATEDATA/VAR[@name='session id']/@value"/>
  
    <xsl:template match="/">

    <HTML>
      <HEAD>
        <TITLE>Boite aux Lettres WebMail de : Page Principale Aide
	<META CONTENT="AUTHOR" VALUE="Sebastian Schaffert"/>
	<link rel="stylesheet" href="{$base}/passthrough/webmail.css"/>
      </HEAD>

      <BODY bgcolor="#B5C1CF" topmargin="5" leftmargin="0" marginwidth="0" marginheight="5">
	  <TABLE width="100%" border="0" cellspacing="0" cellpadding="4">
	    <TR>
		<TD colspan="2" height="22" class="testoNero">Aide WebMail
... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.