1 <?xml version=
"1.0" encoding=
"utf-8"?>
3 <!-- packageclasses.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 package descriptor files 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 name=
"add_link_to_class">
42 <a href=
"{concat(@name, '.html')}" target=
"content" class=
"menu packageclasses">
44 <xsl:when test=
"gjdoc:isInterface">
45 <i><xsl:value-of select=
"@name"/></i>
48 <xsl:value-of select=
"@name"/>
54 <xsl:template match=
"/">
59 <xsl:value-of select=
"concat(/gjdoc:rootdoc/gjdoc:title, ' - ', 'Classes in ', $gjdoc.outputfile.info)"/>
61 <xsl:call-template name=
"include_common"/>
63 <body onload=
"secondaryPageLoaded('classes');" class=
"menu packageclasses">
64 <h3 class=
"menu-title"><a href=
"package-summary.html" target=
"content"><xsl:value-of select=
"$gjdoc.outputfile.info"/></a></h3>
65 <xsl:for-each select=
"/gjdoc:rootdoc/gjdoc:classdoc[gjdoc:containingPackage/@name=$gjdoc.outputfile.info and not(child::gjdoc:isError or child::gjdoc:isException)]">
66 <xsl:sort select=
"@name" order=
"ascending"/>
67 <xsl:call-template name=
"add_link_to_class"/>
70 <xsl:if test=
"/gjdoc:rootdoc/gjdoc:classdoc[gjdoc:containingPackage/@name=$gjdoc.outputfile.info and child::gjdoc:isException]">
71 <h3><xsl:value-of select=
"$gjdoc.outputfile.info"/> Exceptions
</h3>
72 <xsl:for-each select=
"/gjdoc:rootdoc/gjdoc:classdoc[gjdoc:containingPackage/@name=$gjdoc.outputfile.info and child::gjdoc:isException]">
73 <xsl:sort select=
"@name" order=
"ascending"/>
74 <xsl:call-template name=
"add_link_to_class"/>
78 <xsl:if test=
"/gjdoc:rootdoc/gjdoc:classdoc[gjdoc:containingPackage/@name=$gjdoc.outputfile.info and child::gjdoc:isError]">
79 <h3><xsl:value-of select=
"$gjdoc.outputfile.info"/> Errors
</h3>
80 <xsl:for-each select=
"/gjdoc:rootdoc/gjdoc:classdoc[gjdoc:containingPackage/@name=$gjdoc.outputfile.info and child::gjdoc:isError]">
81 <xsl:sort select=
"@name" order=
"ascending"/>
82 <xsl:call-template name=
"add_link_to_class"/>