<?xml version="1.0"?>
<!--
- Copyright 2002-2004 The Apache Software Foundation
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
<!-- Builds the moduleindex page -->
<!-- ==================================================================== -->
<xsl:template match="moduleindex">
-<html xml:lang="{$messages/@lang}" lang="{$messages/@lang}">
+<html xml:lang="{$doclang}" lang="{$doclang}">
<xsl:call-template name="head"/>&lf;
<body id="module-index">
<xsl:call-template name="top"/>
<div id="page-content">
+ <xsl:call-template name="retired" />
+
<div id="preamble">
<h1>
<xsl:value-of select="title" />
<img src="{$path}/images/down.gif" alt="" />
<xsl:text> </xsl:text>
<a href="#core">
- <xsl:value-of select="$messages/message
- [@name='corefeatures']" />
+ <xsl:value-of select="$message
+ [@id='corefeatures']" />
</a>
</li>
<li>
<img src="{$path}/images/down.gif" alt="" />
<xsl:text> </xsl:text>
<a href="#other">
- <xsl:value-of select="$messages/message
- [@name='othermodules']" />
+ <xsl:value-of select="$message
+ [@id='othermodules']" />
</a>
</li>
</ul>
<xsl:if test="seealso">
<h3>
- <xsl:value-of select="$messages/message
- [@name='seealso']" />
+ <xsl:value-of select="$message
+ [@id='seealso']" />
</h3>&lf;
<ul class="seealso">&lf;
<div class="section">
<h2>
<a name="core" id="core">
- <xsl:value-of select="$messages/message
- [@name='corefeatures']" />
+ <xsl:value-of select="$message
+ [@id='corefeatures']" />
</a>
</h2>&lf;
<!-- core -->
<dl>&lf;
<dt>
- <a href="{document(modulefilelist/modulefile
- [starts-with(., 'core.xml')])
+ <a href="{document(document($allmodules)/modulefilelist
+ /modulefile[starts-with(., 'core.xml')])
/modulesynopsis/name}.html">
<xsl:value-of
- select="document(modulefilelist/modulefile
- [starts-with(., 'core.xml')])
+ select="document(document($allmodules)/modulefilelist
+ /modulefile[starts-with(., 'core.xml')])
/modulesynopsis/name" />
</a>
</dt>
<dd>
<xsl:apply-templates
- select="document(modulefilelist/modulefile
- [starts-with(., 'core.xml')])
+ select="document(document($allmodules)/modulefilelist
+ /modulefile[starts-with(., 'core.xml')])
/modulesynopsis/description" />
</dd>&lf;
<!-- mpm_common -->
<dt>
- <a href="{document(modulefilelist/modulefile
- [starts-with(., 'mpm_common.xml')])
+ <a href="{document(document($allmodules)/modulefilelist
+ /modulefile[starts-with(., 'mpm_common.xml')])
/modulesynopsis/name}.html">
<xsl:value-of
- select="document(modulefilelist/modulefile
- [starts-with(., 'mpm_common.xml')])
+ select="document(document($allmodules)/modulefilelist
+ /modulefile[starts-with(., 'mpm_common.xml')])
/modulesynopsis/name" />
</a>
</dt>
<dd class="separate">
<xsl:apply-templates
- select="document(modulefilelist/modulefile
- [starts-with(., 'mpm_common.xml')])
+ select="document(document($allmodules)/modulefilelist
+ /modulefile[starts-with(., 'mpm_common.xml')])
/modulesynopsis/description" />
</dd>&lf;
<!-- and now the remaining MPMs -->
<xsl:variable name="mpmmodules"
- select="document(modulefilelist/modulefile)
+ select="document(document($allmodules)/modulefilelist/modulefile)
/modulesynopsis
[status='MPM' and name != 'mpm_common']" />
<xsl:variable name="translist">
<div class="section">
<h2>
<a name="other" id="other">
- <xsl:value-of select="$messages/message
- [@name='othermodules']" />
+ <xsl:value-of select="$message
+ [@id='othermodules']" />
</a>
</h2>&lf;
<xsl:variable name="modules"
- select="document(modulefilelist/modulefile)
+ select="document(document($allmodules)/modulefilelist/modulefile)
/modulesynopsis[status!='MPM' and
status!='Core']" />