alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  
</TR> <TR> <TD class="testoGrande" bgcolor="#A6B1C0">Sending message
主題: <SPAN class="testoNero">
收件人: <SPAN class="testoNero">
日期: <SPAN class="testoNero"> </TD> </TR> <TR> <TD class="testoGrande" bgcolor="#D1D7E7">傳送狀態: <SPAN class="testoNero"> </SPAN> </TD> </TR> <TR> <TD class="testoGrande" bgcolor="#E2E6F0"> <!-- Only show the section for valid addresses if there actually were any --> <xsl:if test="/USERMODEL/STATEDATA/VAR[@name='valid sent addresses']/@value != ''"> 傳送到位址:<SPAN class="testoNero">valid   </xsl:if> </TD> </TR> <TR> <TD class="testoGrande" bgcolor="#E2E6F0"> <!-- Only show the section for invalid addresses if there actually were any --> <xsl:if test="/USERMODEL/STATEDATA/VAR[@name='valid unsent addresses']/@value != '' or /USERMODEL/STATEDATA/VAR[@name='invalid unsent addresses']/@value != ''"> 未傳送到位址: <SPAN class="testoNero"> <xsl:if test="/USERMODEL/STATEDATA/VAR[@name='valid unsent addresses']/@value != ''">valid   <xsl:value-of select="/USERMODEL/STATEDATA/VAR[@name='valid unsent addresses']/@value"/> </xsl:if> <SPAN class="testoNero"> 無效的  <xsl:value-of select="/USERMODEL/STATEDATA/VAR[@name='invalid unsent addresses']/@value"/> </xsl:if> </xsl:if> </TD> </TR> <TR> <TD bgcolor="#697791"> <TABLE border="0" cellpadding="0" cellspacing="0">

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"?>
<!-- CVS ID: $Id: sendresult.xsl,v 1.1.1.1 2002/10/02 18:42:46 wastl Exp $ -->

<!--
 * 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" 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:variable name="work" select="/USERMODEL/WORK/MESSAGE[position()=1]"/>

    <xsl:template match="/">

    <HTML>
      <HEAD>
        <TITLE>  的 WebMail 信箱:傳送信件結果
	<META CONTENT="AUTHOR" VALUE="Sebastian Schaffert"/>
	<META CONTENT="GENERATOR" VALUE="WebMail 0.7 XSL"/>
	<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="2" cellpadding="4">
	  <TR>
	    <TD height="22" class="testoNero">
	      <IMG SRC="{$imgbase}/images/icona_composer.gif" BORDER="0" align="absmiddle"/>信件傳送結果
	    </TD>
	  </TR>
	  <TR>
	    <TD bgcolor="#697791" height="22" class="testoBianco">日期:
<A HREF="{$base}/compose?session-id={$session-id}&continue=1"> 回到信件編輯器 ...
</TD> </TR> </TABLE> </BODY> </HTML> </xsl:template> </xsl:stylesheet>
... 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.