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<xsl:stylesheet version="1.0" 24 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 25 xmlns="http://www.w3.org/1999/xhtml"> 26 27 <xsl:output method = "html" 28 media-type = "text/html" 29 indent = "yes" 30 doctype-public = "-//W3C//DTD HTML 4.0 Transitional//EN" 31 omit-xml-declaration = "yes" 32 standalone = "yes" /> 33 34 35 <!-- ============================= 36 ROOT 37 ================================== --> 38 39 40 <xsl:template match="/"> 41 <html> 42 <xsl:call-template name="head"/> 43 <xsl:call-template name="frameset"/> 44 </html> 45 </xsl:template> 46 47 48 <!-- ============================= 49 HTML FRAMES 50 ================================== --> 51 52 53 <xsl:template name="frameset"> 54 <frameset rows="281,*" cols="*" framespacing="0" frameborder="NO" border="0"> 55 <frame src="tocframe.html" name="tocframe" scrolling="Auto" noresize=""/> 56 <frame src="mainframe.html" name="mainframe"/> 57 </frameset> 58 <noframes/> 59 <body> 60 </body> 61 </xsl:template> 62 63 64 <!-- ============================= 65 HTML HEAD 66 67 this section should not be changed 68 ================================== --> 69 70 <xsl:template name="head"> 71 <head> 72 <title> 73 <xsl:value-of select="/session/general-info/@title"/> 74 </title> 75 <!-- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> --> 76 <meta name="description" content="{/session/general-info/@description}"/> 77 <meta name="keywords" content="{/session/general-info/@keywords}"/> 78 <meta name="author" content="{/session/general-info/@author}"/> 79 <meta name="email" content="{/session/general-info/@email}"/> 80 <meta name="copyright" content="{/session/general-info/@copyright}"/> 81 <!-- create date? 82 update date? 83 fav icon? 84 --> 85 <link REL="shortcut icon" href="images/favicon.ico" type="image/ico"/> 86 <link href="style.css" rel="stylesheet" type="text/css"/> 87 88 </head> 89 </xsl:template> 90 91</xsl:stylesheet> 92