1 <?xml version=
"1.0" encoding=
"utf-8"?>
3 <!-- index_noframes.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)
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 index.html file for HTML documentation. This is only
28 <xsl:stylesheet version=
"1.0"
29 xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform"
30 xmlns:
gjdoc=
"http://www.gnu.org/software/cp-tools/gjdocxml"
31 xmlns:
html=
"http://www.w3.org/TR/REC-html40"
32 xmlns=
"http://www.w3.org/TR/REC-html40">
34 <xsl:include href=
"html_common.xsl"/>
36 <xsl:output method=
"xml"
38 doctype-public=
"-//W3C//DTD HTML 4.01 Transitional//EN"
39 doctype-system=
"http://www.w3.org/TR/html4/loose.dtd"
42 <xsl:strip-space elements=
"*"/>
44 <xsl:template name=
"output_packagedoc_tr">
46 <td class=
"package-link">
47 <a href=
"{concat(translate(@name,'.','/'), '/package-summary.html')}" class=
"package-link">
48 <xsl:value-of select=
"@name"/>
51 <td class=
"package-summary-description">
52 <xsl:apply-templates select=
"./gjdoc:firstSentenceTags/node()"/>
57 <xsl:template match=
"/">
60 <xsl:call-template name=
"output_title">
61 <xsl:with-param name=
"p_pagetitle" select=
"'Overview'"/>
63 <xsl:call-template name=
"include_common"/>
65 <body class=
"classdoc" onload=
"if(parent.contentPageLoaded)parent.contentPageLoaded(document.title)">
67 <!-- Top Navigation Bar -->
68 <xsl:call-template name=
"output_navbar">
69 <xsl:with-param name=
"p_show_frames" select=
"1"/>
70 <xsl:with-param name=
"p_show_noframes" select=
"0"/>
71 <xsl:with-param name=
"p_curr_noframes" select=
"1"/>
72 <xsl:with-param name=
"p_show_package" select=
"0"/>
73 <xsl:with-param name=
"p_show_package_tree" select=
"0"/>
74 <xsl:with-param name=
"p_show_full_tree" select=
"1"/>
75 <xsl:with-param name=
"p_show_index" select=
"1"/>
76 <xsl:with-param name=
"p_show_help" select=
"1"/>
77 <xsl:with-param name=
"p_top" select=
"1"/>
80 <div class=
"pagebody">
82 <xsl:if test=
"$gjdoc.option.doctitle">
83 <h1 class=
"overview-doctitle"><xsl:value-of select=
"$gjdoc.option.doctitle"/></h1>
85 <xsl:if test=
"/gjdoc:rootdoc/gjdoc:firstSentenceTags">
86 <div class=
"overview-description-top">
87 <xsl:for-each select=
"/gjdoc:rootdoc/gjdoc:firstSentenceTags/node()">
88 <xsl:copy-of select=
"."/>
91 <div class=
"classdoc-tag-section-header">See Also:
</div>
92 <dl class=
"classdoc-list">
93 <dt><a href=
"#description">Description
</a></dt>
98 <xsl:when test=
"/gjdoc:rootdoc/gjdoc:packagegroup">
99 <xsl:for-each select=
"/gjdoc:rootdoc/gjdoc:packagegroup">
100 <h1 class=
"classdoc-title"><xsl:value-of select=
"@name"/></h1>
101 <table border=
"1" cellspacing=
"0" class=
"classdoc-table">
102 <xsl:for-each select=
"gjdoc:package">
103 <xsl:variable name=
"v_name" select=
"@name"/>
104 <xsl:for-each select=
"/gjdoc:rootdoc/gjdoc:packagedoc[@name=$v_name]">
105 <xsl:call-template name=
"output_packagedoc_tr"/>
112 <h1 class=
"classdoc-title">All Packages
</h1>
113 <table border=
"1" cellspacing=
"0" class=
"classdoc-table">
114 <xsl:for-each select=
"/gjdoc:rootdoc/gjdoc:packagedoc">
115 <xsl:call-template name=
"output_packagedoc_tr"/>
120 <xsl:if test=
"/gjdoc:rootdoc/gjdoc:inlineTags">
121 <a name=
"description"/>
122 <div class=
"overview-description-full">
123 <xsl:for-each select=
"/gjdoc:rootdoc/gjdoc:inlineTags/node()">
124 <xsl:copy-of select=
"."/>
130 <!-- Bottom Navigation Bar -->
131 <xsl:call-template name=
"output_navbar">
132 <xsl:with-param name=
"p_show_frames" select=
"1"/>
133 <xsl:with-param name=
"p_show_noframes" select=
"0"/>
134 <xsl:with-param name=
"p_curr_noframes" select=
"1"/>
135 <xsl:with-param name=
"p_show_package" select=
"0"/>
136 <xsl:with-param name=
"p_show_package_tree" select=
"0"/>
137 <xsl:with-param name=
"p_show_full_tree" select=
"1"/>
138 <xsl:with-param name=
"p_show_index" select=
"1"/>
139 <xsl:with-param name=
"p_show_help" select=
"1"/>
140 <xsl:with-param name=
"p_top" select=
"0"/>