]> granicus.if.org Git - apache/commitdiff
allmodules.xml references were removed
authorAndré Malo <nd@apache.org>
Tue, 4 May 2004 23:14:15 +0000 (23:14 +0000)
committerAndré Malo <nd@apache.org>
Tue, 4 May 2004 23:14:15 +0000 (23:14 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103613 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/style/latex/common.xsl
docs/manual/style/latex/directiveindex.xsl
docs/manual/style/latex/latex.xsl
docs/manual/style/latex/moduleindex.xsl
docs/manual/style/latex/quickreference.xsl

index fc8a680a59f72d60862d517f72cf761769973cca..dab67b78d25c711e573b4f71ed6e786156f6ac05 100644 (file)
@@ -1,7 +1,4 @@
 <?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'" />
index 3d763365c4559d5354aaa8bcc1ef138b01acdc34..356c9db5e81fb8cf7d4f91b7aadbf5cb5e4b3122 100644 (file)
@@ -27,7 +27,7 @@
 <xsl:template match="directiveindex">
 
     <xsl:variable name="directives"
-        select="document(modulefilelist/modulefile)
+        select="document(document($allmodules)/modulefilelist/modulefile)
                 /modulesynopsis[status!='Obsolete']
                 /directivesynopsis[not(@location)]" />
 
index 07a717be412c426f303892183305cf17c73db1c4..e17a96ec82bdb87d07664c3a31206c165c94885d 100644 (file)
@@ -28,6 +28,8 @@
 <!-- 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" />
index c2f482a91245d50862cf5b448b7ac923b075df36..b7400ccbaf0f20e1c0f86f2da6ebdded4b29611e 100644 (file)
 
 \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" />
 
@@ -72,7 +72,7 @@
 
     <!-- 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">
index be412dcabb353bbd43a020f2cda9440d6d43a0d4..02cd41eb3e7b640920a5ca5af5f655a2fa0c5539 100644 (file)
@@ -35,7 +35,7 @@
   <xsl:apply-templates select="legend"/>
 
   <xsl:variable name="directives"
-       select="document(modulefilelist/modulefile)
+       select="document(document($allmodules)/modulefilelist/modulefile)
          /modulesynopsis/directivesynopsis[not(@location)]" />
 
   <xsl:text>\footnotesize