1 <?xml version="1.0" encoding="utf-8"?>
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)
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
24 <!-- Creates the alphaindex.html file for HTML documentation.
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="xml"
39 <xsl:strip-space elements="*"/>
41 <xsl:template match="/">
45 <xsl:call-template name="output_title">
46 <xsl:with-param name="p_pagetitle" select="concat('Alphabetical Index: ', $gjdoc.outputfile.info)"/>
48 <xsl:call-template name="include_common"/>
50 <body class="classdoc" onload="if(parent.contentPageLoaded)parent.contentPageLoaded(document.title)">
51 <div class="pagebody">
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="0"/>
60 <xsl:with-param name="p_curr_index" select="1"/>
61 <xsl:with-param name="p_show_help" select="1"/>
62 <xsl:with-param name="p_top" select="1"/>
65 <h1 class="classdoc-title">
67 <xsl:if test="$gjdoc.outputfile.info">
69 <xsl:value-of select="$gjdoc.outputfile.info"/>
73 <div class="index-categories">
74 <xsl:for-each select="document('alphaindex.xml',/)/gjdoc:alphaindex/gjdoc:category">
76 <xsl:when test="@letter=$gjdoc.outputfile.info">
77 <span class="index-category-current"><xsl:value-of select="@letter"/></span>
80 <a href="{concat('alphaindex_', @letter, '.html') class="index-category-link"}"><xsl:value-of select="@letter"/></a>
86 <xsl:if test="$gjdoc.outputfile.info">
87 <xsl:for-each select="document('alphaindex.xml',/)/gjdoc:alphaindex/gjdoc:category[@letter=$gjdoc.outputfile.info]">
88 <h2><xsl:value-of select="@letter"/></h2>
89 <xsl:call-template name="output_alphaindex_category"/>
94 <!-- Bottom Navigation Bar -->
95 <xsl:call-template name="output_navbar">
96 <xsl:with-param name="p_show_frames" select="1"/>
97 <xsl:with-param name="p_show_noframes" select="1"/>
98 <xsl:with-param name="p_show_package" select="0"/>
99 <xsl:with-param name="p_show_package_tree" select="0"/>
100 <xsl:with-param name="p_show_full_tree" select="1"/>
101 <xsl:with-param name="p_show_index" select="0"/>
102 <xsl:with-param name="p_curr_index" select="1"/>
103 <xsl:with-param name="p_show_help" select="1"/>
104 <xsl:with-param name="p_top" select="0"/>