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 24<!-- ================================================= 25 26This template is a skeleton for single level TOC pages 27with Frames : it generates the main index.html which contains 28the frameset. 29 30Do not overwrite this ! copy it and complete the missing 31code. 32 33I use the @ character whereever there is a missing code, so 34you can use a simple find to navigate and find the 35places... 36 37====================================================== --> 38 39<xsl:stylesheet version="1.0" 40 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 41 xmlns="http://www.w3.org/1999/xhtml"> 42 43 <xsl:output method = "html" 44 media-type = "text/html" 45 indent = "yes" 46 doctype-public = "-//W3C//DTD HTML 4.0 Transitional//EN" 47 omit-xml-declaration = "yes" 48 standalone = "yes" /> 49 50 <xsl:include href="../layout.xsl"/> 51 52 53 <!-- ============================= 54 ROOT 55 ================================== --> 56 57 58 <xsl:template match="/"> 59 <html> 60 <xsl:call-template name="head"/> 61 <xsl:call-template name="frameset"/> 62 </html> 63 </xsl:template> 64 65 66 <!-- ============================= 67 HTML FRAMES 68 ================================== --> 69 70 71 <xsl:template name="frameset"> 72 73 <!-- 74 @ Add frameset here... 75 76 the following noframes tag is 77 naturally optional. 78 --> 79 80 <noframes/> 81 82 <!-- the body tag has no influance here, 83 we add it for good style. 84 --> 85 86 <body> 87 </body> 88 </xsl:template> 89 90 91 <!-- ============================= 92 HTML HEAD 93 94 this section should not be changed 95 ================================== --> 96 97 <xsl:template name="head"> 98 <head> 99 <title> 100 <xsl:value-of select="/session/general-info/@title"/> 101 </title> 102 <!-- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> --> 103 <meta HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=UTF-8"/> 104 <meta name="description" content="{/session/general-info/@description}"/> 105 <meta name="keywords" content="{/session/general-info/@keywords}"/> 106 <meta name="author" content="{/session/general-info/@author}"/> 107 <meta name="email" content="{/session/general-info/@email}"/> 108 <meta name="copyright" content="{/session/general-info/@copyright}"/> 109 <!-- create date? 110 update date? 111 fav icon? 112 --> 113 <link href="style.css" rel="stylesheet" type="text/css"/> 114 115 </head> 116 </xsl:template> 117 118</xsl:stylesheet> 119