libjava/ChangeLog:
[official-gcc.git] / libjava / classpath / tools / resource / gnu / classpath / tools / gjdoc / doctranslets / html / help.xsl
blob45af6a644806201d38942ba9e398c18aa89964fc
1 <?xml version="1.0" encoding="utf-8"?>
3 <!-- help.xsl
4 Copyright (C) 2003 Free Software Foundation, Inc.
6 This file is part of GNU Classpath.
8 GNU Classpath is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
11 any later version.
13 GNU Classpath is distributed in the hope that it will be useful, but
14 WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with GNU Classpath; see the file COPYING. If not, write to the
20 Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
21 02111-1307 USA.
22 -->
24 <!-- Creates the class descriptor files for HTML documentation.
25 -->
27 <xsl:stylesheet version="1.0"
28 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
29 xmlns:gjdoc="http://www.gnu.org/software/cp-tools/gjdocxml"
30 xmlns:html="http://www.w3.org/TR/REC-html40"
31 xmlns="http://www.w3.org/TR/REC-html40">
33 <xsl:include href="html_common.xsl"/>
35 <xsl:output method="html"
36 encoding="utf-8"
37 doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
38 doctype-system="http://www.w3.org/TR/html4/loose.dtd"
39 indent="no"/>
41 <xsl:strip-space elements="*"/>
43 <xsl:template match="/">
44 <html>
45 <head>
46 <xsl:call-template name="output_title">
47 <xsl:with-param name="p_pagetitle" select="'Help'"/>
48 </xsl:call-template>
49 <xsl:call-template name="include_common"/>
50 </head>
51 <body class="classdoc" onload="if(parent.contentPageLoaded)parent.contentPageLoaded(document.title)">
52 <!-- Top Navigation Bar -->
53 <xsl:call-template name="output_navbar">
54 <xsl:with-param name="p_show_frames" select="1"/>
55 <xsl:with-param name="p_show_noframes" select="1"/>
56 <xsl:with-param name="p_show_package" select="0"/>
57 <xsl:with-param name="p_show_package_tree" select="0"/>
58 <xsl:with-param name="p_show_full_tree" select="1"/>
59 <xsl:with-param name="p_show_index" select="1"/>
60 <xsl:with-param name="p_show_help" select="0"/>
61 <xsl:with-param name="p_curr_help" select="1"/>
62 <xsl:with-param name="p_top" select="1"/>
63 </xsl:call-template>
65 <div class="pagebody">
67 <xsl:choose>
68 <xsl:when test="$gjdoc.option.helpfile">
69 <xsl:copy-of select="document($gjdoc.option.helpfile)//body"/>
70 </xsl:when>
71 <xsl:otherwise>
72 <xsl:copy-of select="document('res/default_help_en.html')"/>
73 </xsl:otherwise>
74 </xsl:choose>
76 <!-- Bottom Navigation Bar -->
77 <xsl:call-template name="output_navbar">
78 <xsl:with-param name="p_show_frames" select="1"/>
79 <xsl:with-param name="p_show_noframes" select="1"/>
80 <xsl:with-param name="p_show_package" select="0"/>
81 <xsl:with-param name="p_show_package_tree" select="0"/>
82 <xsl:with-param name="p_show_full_tree" select="1"/>
83 <xsl:with-param name="p_show_index" select="1"/>
84 <xsl:with-param name="p_show_help" select="0"/>
85 <xsl:with-param name="p_curr_help" select="1"/>
86 <xsl:with-param name="p_top" select="0"/>
87 </xsl:call-template>
88 </div>
89 </body>
90 </html>
91 </xsl:template>
93 </xsl:stylesheet>