sitemap.xsl revision 6fbd2e53c97ea6976d93e0ac521adabc55e0fb73
6fbd2e53c97ea6976d93e0ac521adabc55e0fb73nd Copyright 2002-2004 The Apache Software Foundation
beaad6ac31022179c44d88536811e9ccd9425696nd Licensed under the Apache License, Version 2.0 (the "License");
beaad6ac31022179c44d88536811e9ccd9425696nd you may not use this file except in compliance with the License.
beaad6ac31022179c44d88536811e9ccd9425696nd You may obtain a copy of the License at
beaad6ac31022179c44d88536811e9ccd9425696nd Unless required by applicable law or agreed to in writing, software
beaad6ac31022179c44d88536811e9ccd9425696nd distributed under the License is distributed on an "AS IS" BASIS,
beaad6ac31022179c44d88536811e9ccd9425696nd WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
beaad6ac31022179c44d88536811e9ccd9425696nd See the License for the specific language governing permissions and
beaad6ac31022179c44d88536811e9ccd9425696nd limitations under the License.
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- If we use document() in the context of this xsl file, the contextual -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- CWD is the xsl file containing directory. $basedir reflects the -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- manual root for that case. -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- ==================================================================== -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- <sitemap> -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- Process an entire document into an HTML page -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- ==================================================================== -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<html xml:lang="{$messages/@lang}" lang="{$messages/@lang}">
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:if test="(not($is-chm) and count(category) > 1) or seealso">
7e68fce3cbd2246164e045a51ecd77f9f26680ednd [@name='seealso']" />
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- /sitemap -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- ==================================================================== -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- ==================================================================== -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- ==================================================================== -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- Process a sitemap category -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- ==================================================================== -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <!-- Category title -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <!-- category body -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <!-- optional ... -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- /category -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- ==================================================================== -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- insert module list into sitemap -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<!-- ==================================================================== -->
7e68fce3cbd2246164e045a51ecd77f9f26680ednd select="document(concat($basedir,'mod/',.))/modulesynopsis" />
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:value-of select="$messages/message[@name='apachecore']" />
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:value-of select="$messages/message[@name='apachempmcommon']" />
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<xsl:sort select="substring-before(substring-after($translist, concat('- ',
7e68fce3cbd2246164e045a51ecd77f9f26680ednd document(concat($basedir,'mod/',.))/modulesynopsis/name, ' ')), ' -')" />
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:variable name="current" select="document(concat($basedir, 'mod/', .))
7e68fce3cbd2246164e045a51ecd77f9f26680ednd /modulesynopsis" />
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:if test="$current/status='MPM' and $current/name!='mpm_common'">
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:variable name="name" select="substring-before(substring-after(
7e68fce3cbd2246164e045a51ecd77f9f26680ednd $translist, concat('- ', $current/name, ' ')), ' -')" />
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:value-of select="$messages/message[@name='apachempm']" />
7e68fce3cbd2246164e045a51ecd77f9f26680ednd<xsl:sort select="substring-before(substring-after($translist, concat('- ',
7e68fce3cbd2246164e045a51ecd77f9f26680ednd document(concat($basedir,'mod/',.))/modulesynopsis/name, ' ')), ' -')"/>
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:variable name="current" select="document(concat($basedir,'mod/',.))
7e68fce3cbd2246164e045a51ecd77f9f26680ednd /modulesynopsis" />
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:if test="$current/status!='MPM' and $current/status!='Core'">
7e68fce3cbd2246164e045a51ecd77f9f26680ednd <xsl:value-of select="$messages/message[@name='apachemodule']"/>