1
0
mirror of https://github.com/apache/httpd.git synced 2025-10-24 10:53:08 +03:00
Files
apache/docs/manual/style/xsl/moduleindex.xsl
André Malo 805f42c21d move module list into sitemap.xml
allmodules.xml is no longer needed.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96955 13f79535-47bb-0310-9956-ffa450edef68
2002-09-23 03:40:12 +00:00

85 lines
2.5 KiB
XML

<?xml version="1.0"?>
<!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp "&#160;"> ]>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="http://www.w3.org/1999/xhtml">
<!-- -->
<!-- Builds the moduleindex page -->
<!-- -->
<xsl:template match="moduleindex">
<html xml:lang="{$messages/@lang}" lang="{$messages/@lang}">
<xsl:call-template name="head"/>
<body id="module-index">
<xsl:call-template name="top"/>
<div id="preamble">
<h1>
<xsl:value-of select="title"/>
</h1>
<xsl:apply-templates select="summary" />
</div>
<xsl:call-template name="toplink"/>
<div class="section">
<h2>
<xsl:value-of select="$messages/message[@name='corefeatures']"/>
</h2>
<dl>
<xsl:for-each select="document(sitemap/category[@id='modules']/modulefilelist/modulefile)/modulesynopsis">
<xsl:sort select="name"/>
<xsl:if test="status='MPM' or status='Core'">
<dt>
<a href="{name}.html">
<xsl:value-of select="name"/>
</a>
</dt>
<dd>
<xsl:apply-templates select="description"/>
</dd>
</xsl:if>
</xsl:for-each>
</dl>
</div>
<!-- /core section -->
<xsl:call-template name="toplink"/>
<div class="section">
<h2>
<xsl:value-of select="$messages/message[@name='othermodules']"/>
</h2>
<dl>
<xsl:for-each select="document(sitemap/category[@id='modules']/modulefilelist/modulefile)/modulesynopsis">
<xsl:sort select="name"/>
<xsl:if test="status!='MPM' and status!='Core'">
<dt>
<a href="{name}.html">
<xsl:value-of select="name"/>
</a>
</dt>
<dd>
<xsl:apply-templates select="description"/>
</dd>
</xsl:if>
</xsl:for-each>
</dl>
</div>
<!-- /modules section -->
<xsl:call-template name="bottom"/>
</body>
</html>
</xsl:template>
<!-- /moduleindex -->
</xsl:stylesheet>