Create embedded-5_0-branch branch for development on ARM embedded cores.
[official-gcc.git] / embedded-5_0-branch / libjava / classpath / tools / resource / gnu / classpath / tools / gjdoc / doctranslets / html / alphaindex.xsl
blob5aa915cd83aa4820f23814c1052cfdc7ed67a31c
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="'Alphabetical Index'"/>
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)">
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 <div class="pagebody">
66 <h1 class="classdoc-title">
67 Alphabetical Index
68 </h1>
70 <div class="index-categories">
71 <xsl:for-each select="document('alphaindex.xml',/)/gjdoc:alphaindex/gjdoc:category">
72 <xsl:choose>
73 <xsl:when test="@letter=$gjdoc.outputfile.info">
74 <span class="index-category-current"><xsl:value-of select="@letter"/></span>
75 </xsl:when>
76 <xsl:otherwise>
77 <a href="{concat('#category_', @letter)}" class="index-category-link"><xsl:value-of select="@letter"/></a>
78 </xsl:otherwise>
79 </xsl:choose>
80 </xsl:for-each>
81 </div>
83 <xsl:for-each select="document('alphaindex.xml',/)/gjdoc:alphaindex/gjdoc:category">
84 <a name="{concat('category_', @letter)}" class="classdoc"><h3 class="ignore"> </h3></a>
85 <h2><xsl:value-of select="@letter"/></h2>
86 <xsl:call-template name="output_alphaindex_category"/>
87 </xsl:for-each>
89 <!-- Bottom Navigation Bar -->
90 <xsl:call-template name="output_navbar">
91 <xsl:with-param name="p_show_frames" select="1"/>
92 <xsl:with-param name="p_show_noframes" select="1"/>
93 <xsl:with-param name="p_show_package" select="0"/>
94 <xsl:with-param name="p_show_package_tree" select="0"/>
95 <xsl:with-param name="p_show_full_tree" select="1"/>
96 <xsl:with-param name="p_show_index" select="0"/>
97 <xsl:with-param name="p_curr_index" select="1"/>
98 <xsl:with-param name="p_show_help" select="1"/>
99 <xsl:with-param name="p_top" select="0"/>
100 </xsl:call-template>
101 </div>
102 </body>
103 </html>
105 </xsl:template>
107 </xsl:stylesheet>