Version 4.0.0.1, tag libreoffice-4.0.0.1
[LibreOffice.git] / extras / source / misc_config / wizard / web / layouts / frame_left / tocframe.html.xsl
blob31148b5f26fbeae1995231c87c38f3170a665a2e
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 -->
19 <!-- =================================================
21 This template is a skeleton for single level TOC pages
22 Do not overwrite this ! copy it and complete the missing
23 code.
25 I use the @ character whereever there is a missing code, so
26 you can use a simple find to navigate and find the
27 places...
29 ====================================================== -->
31 <xsl:stylesheet version="1.0"
32 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
33 xmlns="http://www.w3.org/1999/xhtml">
35 <xsl:output method = "html"
36 media-type = "text/html"
37 indent = "yes"
38 doctype-public = "-//W3C//DTD HTML 4.0 Transitional//EN"
39 omit-xml-declaration = "yes"
40 standalone = "yes" />
42 <xsl:include href="../layout.xsl"/>
44 <!-- =============================
45 HTML BODY
46 ================================== -->
48 <xsl:template name="body">
49 <xsl:call-template name="toc"/>
50 </xsl:template>
53 <xsl:template name="toc">
54 <table width="100%" height="654" border="0" cellpadding="0" cellspacing="0" class="tcolor">
56 <tr>
57 <td height="80" colspan="2" class="toctitle">
58 <xsl:value-of select="/session/general-info/@title"/>
59 </td>
60 </tr>
62 <!-- use this alternative if you do not need to use groups
63 (uncomment to use - and do not forget to comment the group
64 option above...)-->
67 <xsl:apply-templates select="/session/content/document"/>
70 </table>
72 <!--
73 @ post toc html here
74 -->
76 <p class="colback"> </p>
78 </xsl:template>
80 <!-- also when using groups, in the end it comes
81 to this template, which is called for each document -->
82 <xsl:template match="document">
84 <tr>
86 <!-- image cell -->
88 <td width="40" height="200" align="center" class="ccolor">
89 <p>
90 <xsl:apply-templates select="@icon"/>
91 </p>
92 </td>
94 <td><p>
96 <xsl:apply-templates select="@title">
97 <xsl:with-param name="target" select="'mainframe'"/>
98 </xsl:apply-templates>
99 <xsl:apply-templates select="@description"/>
100 <xsl:apply-templates select="@author"/>
101 <xsl:apply-templates select="@create-date"/>
102 <xsl:apply-templates select="@update-date"/>
103 <xsl:apply-templates select="@filename"/>
104 <xsl:apply-templates select="@format"/>
105 <xsl:apply-templates select="@pages"/>
106 <xsl:apply-templates select="@size"/>
108 </p> </td>
109 </tr>
111 </xsl:template>
113 </xsl:stylesheet>