1<?xml version="1.0" encoding="UTF-8"?>
2<!--***********************************************************
3 *
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements.  See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership.  The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the
9 * "License"); you may not use this file except in compliance
10 * with the License.  You may obtain a copy of the License at
11 *
12 *   http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing,
15 * software distributed under the License is distributed on an
16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 * KIND, either express or implied.  See the License for the
18 * specific language governing permissions and limitations
19 * under the License.
20 *
21 ***********************************************************-->
22<!-- =================================================
23
24This template is a skeleton for single level TOC pages
25Do not overwrite this ! copy it and complete the missing
26code.
27
28I use the @ character whereever there is a missing code, so
29you can use a simple find to navigate and find the
30places...
31
32====================================================== -->
33
34<xsl:stylesheet version="1.0"
35   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
36	xmlns="http://www.w3.org/1999/xhtml">
37
38	<xsl:output method               = "html"
39                media-type           = "text/html"
40                indent               = "yes"
41                doctype-public       = "-//W3C//DTD HTML 4.0 Transitional//EN"
42                omit-xml-declaration = "yes"
43                standalone           = "yes" />
44
45	<xsl:include href="../layout.xsl"/>
46
47	 <!-- =============================
48	               HTML BODY
49	 ================================== -->
50
51	 <xsl:template name="body">
52	 	<xsl:call-template name="toc"/>
53	 </xsl:template>
54
55
56	 <xsl:template name="toc">
57		<table width="100%" height="654" border="0" cellpadding="0" cellspacing="0" class="tcolor">
58
59  		<tr>
60	    <td height="80" colspan="2" class="toctitle">
61	      <xsl:value-of select="/session/general-info/@title"/>
62	    </td>
63  		</tr>
64
65		<!-- use this alternative if you do not need to use groups
66		(uncomment to use - and do not forget to comment the group
67		option above...)-->
68
69
70	  <xsl:apply-templates select="/session/content/document"/>
71
72
73		</table>
74
75		<!--
76		     @ post toc html here
77		-->
78
79		<p class="colback"> </p>
80
81	 </xsl:template>
82
83	<!-- also when using groups, in the end it comes
84	to this template, which is called for each document -->
85	<xsl:template match="document">
86
87 		   <tr>
88
89			  <!-- image cell -->
90
91    			<td width="40" height="200" align="center" class="ccolor">
92      			<p>
93				  		<xsl:apply-templates select="@icon"/>
94		   		</p>
95				</td>
96
97	  		<td><p>
98
99	  		<xsl:apply-templates select="@title">
100				<xsl:with-param name="target" select="'mainframe'"/>
101			</xsl:apply-templates>
102			<xsl:apply-templates select="@description"/>
103			<xsl:apply-templates select="@author"/>
104			<xsl:apply-templates select="@create-date"/>
105			<xsl:apply-templates select="@update-date"/>
106			<xsl:apply-templates select="@filename"/>
107			<xsl:apply-templates select="@format"/>
108			<xsl:apply-templates select="@pages"/>
109			<xsl:apply-templates select="@size"/>
110
111		</p> </td>
112		</tr>
113
114	</xsl:template>
115
116</xsl:stylesheet>
117