]> granicus.if.org Git - apache/commitdiff
move the page types into an extra file, so a new type doesn't
authorAndre Malo <nd@apache.org>
Tue, 10 Sep 2002 01:20:47 +0000 (01:20 +0000)
committerAndre Malo <nd@apache.org>
Tue, 10 Sep 2002 01:20:47 +0000 (01:20 +0000)
require a change of common.xsl (and causes transforming of all xml
docs...)

new: pagetypes.xsl

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96731 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/style/xsl/common.xsl
docs/manual/style/xsl/pagetypes.xsl [new file with mode: 0644]

index 0c18cb642035ad2f8fb5c14250d1d45a91466323..d3955667fb7fa0d486a07dd3b10c3e358a2de574 100644 (file)
   </xsl:variable>
 
   <!-- load outsourced page types -->
-  <xsl:include href="moduleindex.xsl"/>
-  <xsl:include href="directiveindex.xsl"/>
-  <xsl:include href="manualpage.xsl"/>
-  <xsl:include href="synopsis.xsl"/>
-  <xsl:include href="sitemap.xsl"/>
+  <xsl:include href="pagetypes.xsl"/>
 
   <!--                                                            -->
   <!--    Utility templates for constructing pages                -->
diff --git a/docs/manual/style/xsl/pagetypes.xsl b/docs/manual/style/xsl/pagetypes.xsl
new file mode 100644 (file)
index 0000000..b282174
--- /dev/null
@@ -0,0 +1,17 @@
+<?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">
+
+  <!--                                                          -->
+  <!-- define all types of pages, so a new page doesn't         -->
+  <!-- trigger the <dependset> to transform *all* xml files     -->
+  <!--                                                          -->
+  <xsl:include href="moduleindex.xsl"/>
+  <xsl:include href="directiveindex.xsl"/>
+  <xsl:include href="manualpage.xsl"/>
+  <xsl:include href="synopsis.xsl"/>
+  <xsl:include href="sitemap.xsl"/>
+
+</xsl:stylesheet>