fix chm build (allmodules.xml is no longer included directly)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103998 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
André Malo
2004-06-20 18:24:32 +00:00
parent ecab476cae
commit de68a3d3d5
2 changed files with 9 additions and 4 deletions

View File

@ -115,7 +115,9 @@
&ul.start; &lf;&tab;
<xsl:apply-templates select="page" />
<xsl:apply-templates select="modulefilelist" />
<xsl:if test="@id = 'modules'">
<xsl:apply-templates select="document($allmodules)/modulefilelist" />
</xsl:if>
&ul.end; &lf;
&li.end; &lf;&tab;
</xsl:for-each>&lf;
@ -244,7 +246,7 @@
<!-- category/modulefilelist -->
<!-- process all listed module files -->
<!-- ==================================================================== -->
<xsl:template match="category/modulefilelist">
<xsl:template match="modulefilelist">
<!-- create a module name translation list for sorting -->
<xsl:variable name="translist">
<xsl:text>-</xsl:text>

View File

@ -145,7 +145,10 @@
<!-- and now all sitemap-listed files -->
<xsl:for-each select="category">
<xsl:apply-templates select="page[@href]" />
<xsl:apply-templates select="modulefilelist/modulefile"/>
<xsl:if test="@id = 'modules'">
<xsl:apply-templates select="document($allmodules)/modulefilelist
/modulefile" />
</xsl:if>
</xsl:for-each>&lf;
</xsl:template>
<!-- /sitemap -->
@ -180,7 +183,7 @@
<!-- ==================================================================== -->
<!-- list module files -->
<!-- ==================================================================== -->
<xsl:template match="category/modulefilelist/modulefile">
<xsl:template match="modulefilelist/modulefile">
<xsl:text>mod\</xsl:text>
<xsl:value-of select="substring-before(normalize-space(.), '.xml')" />
<xsl:text>.html</xsl:text>&lf;