<?xml version="1.0"?>
-<xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns="http://www.w3.org/1999/xhtml">
<!--
Copyright 2003-2004 The Apache Software Foundation
limitations under the License.
-->
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns="http://www.w3.org/1999/xhtml">
+
<!-- Constants used for case translation -->
<xsl:variable name="lowercase" select="'abcdefghijklmnopqrstuvwxyz'" />
<xsl:variable name="uppercase" select="'ABCDEFGHIJKLMNOPQRSTUVWXYZ'" />
<!-- Read the localized messages from the specified language file -->
<xsl:variable name="message" select="document('../lang/en.xml')
/language/messages/message"/>
+<xsl:variable name="allmodules" select="document('../xsl/util/allmodules.xml')
+ /items/item[@lang='en']"/>
<!-- Get the guts of the stylesheets -->
<xsl:include href="manualpage.xsl" />
\begin{description}
\item[</xsl:text>
- <xsl:apply-templates select="document(modulefilelist/modulefile
+ <xsl:apply-templates select="document(document($allmodules)/modulefilelist/modulefile
[starts-with(., 'core.xml')])
/modulesynopsis/name"/>
<xsl:text>] (p.\ \pageref{/mod/</xsl:text>
- <xsl:value-of select="document(modulefilelist/modulefile
+ <xsl:value-of select="document(document($allmodules)/modulefilelist/modulefile
[starts-with(., 'core.xml')])
/modulesynopsis/name"/>
<xsl:text>}) </xsl:text>
- <xsl:apply-templates select="document(modulefilelist/modulefile
+ <xsl:apply-templates select="document(document($allmodules)/modulefilelist/modulefile
[starts-with(., 'core.xml')])
/modulesynopsis/description" />
<xsl:text>
\item[</xsl:text>
- <xsl:apply-templates select="document(modulefilelist/modulefile
+ <xsl:apply-templates select="document(document($allmodules)/modulefilelist/modulefile
[starts-with(., 'mpm_common.xml')])
/modulesynopsis/name" />
<xsl:text>] (p.\ \pageref{/mod/</xsl:text>
- <xsl:value-of select="document(modulefilelist/modulefile
+ <xsl:value-of select="document(document($allmodules)/modulefilelist/modulefile
[starts-with(., 'mpm_common.xml')])
/modulesynopsis/name"/>
<xsl:text>}) </xsl:text>
- <xsl:apply-templates select="document(modulefilelist/modulefile
+ <xsl:apply-templates select="document(document($allmodules)/modulefilelist/modulefile
[starts-with(., 'mpm_common.xml')])
/modulesynopsis/description" />
<!-- 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">
<xsl:call-template name="module-translist">
</xsl:text>
<xsl:variable name="modules"
- select="document(modulefilelist/modulefile)
+ select="document(document($allmodules)/modulefilelist/modulefile)
/modulesynopsis[status!='MPM' and status!='Core']" />
<xsl:call-template name="mindex-of-letter">