1<?xml version="1.0" encoding="UTF-8"?> 2<!--************************************************************************* 3 * 4 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 6 Copyright 2000, 2010 Oracle and/or its affiliates. 7 8 OpenOffice.org - a multi-platform office productivity suite 9 10 This file is part of OpenOffice.org. 11 12 OpenOffice.org is free software: you can redistribute it and/or modify 13 it under the terms of the GNU Lesser General Public License version 3 14 only, as published by the Free Software Foundation. 15 16 OpenOffice.org is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Lesser General Public License version 3 for more details 20 (a copy is included in the LICENSE file that accompanied this code). 21 22 You should have received a copy of the GNU Lesser General Public License 23 version 3 along with OpenOffice.org. If not, see 24 <http://www.openoffice.org/license.html> 25 for a copy of the LGPLv3 License. 26 27 ************************************************************************--> 28<!-- ================================================= 29 30This template is a skeleton for single level TOC pages 31with Frames : it generates the main index.html which contains 32the frameset. 33 34Do not overwrite this ! copy it and complete the missing 35code. 36 37I use the @ character whereever there is a missing code, so 38you can use a simple find to navigate and find the 39places... 40 41====================================================== --> 42 43<xsl:stylesheet version="1.0" 44 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 45 xmlns="http://www.w3.org/1999/xhtml"> 46 47 <xsl:output method = "html" 48 media-type = "text/html" 49 indent = "yes" 50 doctype-public = "-//W3C//DTD HTML 4.0 Transitional//EN" 51 omit-xml-declaration = "yes" 52 standalone = "yes" /> 53 54 <xsl:include href="../layout.xsl"/> 55 56 57 <!-- ============================= 58 ROOT 59 ================================== --> 60 61 62 <xsl:template match="/"> 63 <html> 64 <xsl:call-template name="head"/> 65 <xsl:call-template name="frameset"/> 66 </html> 67 </xsl:template> 68 69 70 <!-- ============================= 71 HTML FRAMES 72 ================================== --> 73 74 75 <xsl:template name="frameset"> 76 77 <!-- 78 @ Add frameset here... 79 80 the following noframes tag is 81 naturally optional. 82 --> 83 84 <noframes/> 85 86 <!-- the body tag has no influance here, 87 we add it for good style. 88 --> 89 90 <body> 91 </body> 92 </xsl:template> 93 94 95 <!-- ============================= 96 HTML HEAD 97 98 this section should not be changed 99 ================================== --> 100 101 <xsl:template name="head"> 102 <head> 103 <title> 104 <xsl:value-of select="/session/general-info/@title"/> 105 </title> 106 <!-- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> --> 107 <meta HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=UTF-8"/> 108 <meta name="description" content="{/session/general-info/@description}"/> 109 <meta name="keywords" content="{/session/general-info/@keywords}"/> 110 <meta name="author" content="{/session/general-info/@author}"/> 111 <meta name="email" content="{/session/general-info/@email}"/> 112 <meta name="copyright" content="{/session/general-info/@copyright}"/> 113 <!-- create date? 114 update date? 115 fav icon? 116 --> 117 <link href="style.css" rel="stylesheet" type="text/css"/> 118 119 </head> 120 </xsl:template> 121 122</xsl:stylesheet> 123