home | career | drupal | java | mac | mysql | perl | scala | uml | unix  
</TR> </xsl:template> <xsl:template match="helpdata"> <P> <xsl:apply-templates/> </P> </xsl:template> <xsl:template match="p"> <P> <xsl:apply-templates/> </P> </xsl:template> <xsl:template match="strong"> <STRONG> </xsl:template> <xsl:template match="em"> <EM> </xsl:template> <xsl:template match="br"> <BR/> </xsl:template> <xsl:template match="ul"> <UL> <xsl:apply-templates/> </UL> </xsl:template> <xsl:template match="li"> <LI> </xsl:template> <xsl:template match="note"> <TABLE BGCOLOR="yellow" BORDER="1" WIDTH="100%"> <TR> <TD> <STRONG>Hinweis: </TD> </TR> </TABLE> </xsl:template> <xsl:template match="warning"> <TABLE BGCOLOR="red" BORDER="1" WIDTH="100%"> <TR> <TD> <STRONG>Warnung: </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="UTF-8"?>
<!--
 * 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.
-->

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  <xsl:output method="html" encoding="UTF-8"/>

    <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>WebMail Briefkasten für : Hilfe
	<META CONTENT="AUTHOR" VALUE="Sebastian Schaffert"/>
      </HEAD>

      <BODY bgcolor="#dddddd">
	<H1>
WebMail Hilfe
<P> <TABLE WIDTH="100%" BORDER="0"> <!-- 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 COLSPAN="2" ALIGN="CENTER"> <STRONG> <EMPH>This system uses on </STRONG> </TD> </TR> <TR> <TD COLSPAN="2" ALIGN="CENTER"> <STRONG>WebMail (c)1999-2001 by Sebastian Schaffert, schaffer@informatik.uni-muenchen.de </TD> </TR> </TABLE> </P> </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 VALIGN="top"> <xsl:if test="icon"> <IMG SRC="{$imgbase}/images/{icon/@href}" BORDER="0"/> </xsl:if> </TD> <TD> <P> <STRONG> </P> <xsl:apply-templates select="helpdata"/> <P> <STRONG>weitere Informationen: </P> </TD> </TR> <TR> <TD COLSPAN="2">


my book on functional programming

 

new blog posts

 

Copyright 1998-2019 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.