libjava/ChangeLog:
[official-gcc.git] / libjava / classpath / tools / resource / gnu / classpath / tools / gjdoc / doctranslets / html / alphaindex_chunked.xsl
blobe1847385beb244d550b98892868670943b618ad5
1 <?xml version="1.0" encoding="utf-8"?>
3 <!-- alphaindex.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 alphaindex.html file 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="xml"
36 encoding="utf-8"
37 indent="no"/>
39 <xsl:strip-space elements="*"/>
41 <xsl:template match="/">
43 <html>
44 <head>
45 <xsl:call-template name="output_title">
46 <xsl:with-param name="p_pagetitle" select="concat('Alphabetical Index: ', $gjdoc.outputfile.info)"/>
47 </xsl:call-template>
48 <xsl:call-template name="include_common"/>
49 </head>
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"/>
63 </xsl:call-template>
65 <h1 class="classdoc-title">
66 Alphabetical Index
67 <xsl:if test="$gjdoc.outputfile.info">
69 <xsl:value-of select="$gjdoc.outputfile.info"/>
70 </xsl:if>
71 </h1>
73 <div class="index-categories">
74 <xsl:for-each select="document('alphaindex.xml',/)/gjdoc:alphaindex/gjdoc:category">
75 <xsl:choose>
76 <xsl:when test="@letter=$gjdoc.outputfile.info">
77 <span class="index-category-current"><xsl:value-of select="@letter"/></span>
78 </xsl:when>
79 <xsl:otherwise>
80 <a href="{concat('alphaindex_', @letter, '.html') class="index-category-link"}"><xsl:value-of select="@letter"/></a>
81 </xsl:otherwise>
82 </xsl:choose>
83 </xsl:for-each>
84 </div>
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"/>
90 </xsl:for-each>
92 </xsl:if>
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"/>
105 </xsl:call-template>
106 </div>
107 </body>
108 </html>
110 </xsl:template>
112 </xsl:stylesheet>