merge the formfield patch from ooo-build
[ooovba.git] / extras / source / misc_config / wizard / web / layouts / frame_left / tocframe.html.xsl
blob08048b517beb0ca98e6ef43433a5721e2c397b0f
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- =================================================
4 This template is a skeleton for single level TOC pages
5 Do not overwrite this ! copy it and complete the missing
6 code.
8 I use the @ character whereever there is a missing code, so
9 you can use a simple find to navigate and find the
10 places...
12 ====================================================== -->
14 <xsl:stylesheet version="1.0"
15 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
16 xmlns="http://www.w3.org/1999/xhtml">
18 <xsl:output method = "html"
19 media-type = "text/html"
20 indent = "yes"
21 doctype-public = "-//W3C//DTD HTML 4.0 Transitional//EN"
22 omit-xml-declaration = "yes"
23 standalone = "yes" />
25 <xsl:include href="../layout.xsl"/>
27 <!-- =============================
28 HTML BODY
29 ================================== -->
31 <xsl:template name="body">
32 <xsl:call-template name="toc"/>
33 </xsl:template>
36 <xsl:template name="toc">
37 <table width="100%" height="654" border="0" cellpadding="0" cellspacing="0" class="tcolor">
39 <tr>
40 <td height="80" colspan="2" class="toctitle">
41 <xsl:value-of select="/session/general-info/@title"/>
42 </td>
43 </tr>
45 <!-- use this alternative if you do not need to use groups
46 (uncomment to use - and do not forget to comment the group
47 option above...)-->
50 <xsl:apply-templates select="/session/content/document"/>
53 </table>
55 <!--
56 @ post toc html here
57 -->
59 <p class="colback"> </p>
61 </xsl:template>
63 <!-- also when using groups, in the end it comes
64 to this template, which is called for each document -->
65 <xsl:template match="document">
67 <tr>
69 <!-- image cell -->
71 <td width="40" height="200" align="center" class="ccolor">
72 <p>
73 <xsl:apply-templates select="@icon"/>
74 </p>
75 </td>
77 <td><p>
79 <xsl:apply-templates select="@title">
80 <xsl:with-param name="target" select="'mainframe'"/>
81 </xsl:apply-templates>
82 <xsl:apply-templates select="@description"/>
83 <xsl:apply-templates select="@author"/>
84 <xsl:apply-templates select="@create-date"/>
85 <xsl:apply-templates select="@update-date"/>
86 <xsl:apply-templates select="@filename"/>
87 <xsl:apply-templates select="@format"/>
88 <xsl:apply-templates select="@pages"/>
89 <xsl:apply-templates select="@size"/>
91 </p> </td>
92 </tr>
94 </xsl:template>
96 </xsl:stylesheet>