Browse Source

Making use of docbook-xsl-snapshot files.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/new-xsl@7979 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Manuel Canales Esparcia 18 năm trước cách đây
mục cha
commit
65e786e0b0
5 tập tin đã thay đổi với 9 bổ sung9 xóa
  1. 3 3
      lfs-chunked.xsl
  2. 1 1
      lfs-chunked2.xsl
  3. 1 1
      lfs-nochunks.xsl
  4. 1 1
      lfs-pdf.xsl
  5. 3 3
      lfs-profile.xsl

+ 3 - 3
lfs-chunked.xsl

@@ -5,8 +5,8 @@
                 version="1.0">
 
   <xsl:import href="lfs-chunked2.xsl"/>
-  <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/chunk-common.xsl"/>
-  <xsl:include href="http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/manifest.xsl"/>
+  <xsl:import href="docbook-xsl-snapshot/xhtml/chunk-common.xsl"/>
+  <xsl:include href="docbook-xsl-snapshot/xhtml/manifest.xsl"/>
 
     <!--  From the original chunk.xsl file:
 
@@ -24,7 +24,7 @@
 
     Voila! (Man I hope we can do this better in XSLT 2.0)  -->
 
-  <xsl:include href="http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/profile-chunk-code.xsl"/>
+  <xsl:include href="docbook-xsl-snapshot/xhtml/profile-chunk-code.xsl"/>
 
     <!-- Including our others customized chunks templates -->
   <xsl:include href="xhtml/lfs-legalnotice.xsl"/>

+ 1 - 1
lfs-chunked2.xsl

@@ -5,7 +5,7 @@
                 version="1.0">
 
     <!-- We use XHTML -->
-  <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/docbook.xsl"/>
+  <xsl:import href="docbook-xsl-snapshot/docbook.xsl"/>
   <xsl:param name="chunker.output.encoding" select="'ISO-8859-1'"/>
 
     <!-- Including our others customized elements templates -->

+ 1 - 1
lfs-nochunks.xsl

@@ -5,7 +5,7 @@
                 version="1.0">
 
     <!-- We use XHTML -->
-  <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/profile-docbook.xsl"/>
+  <xsl:import href="docbook-xsl-snapshot/profile-docbook.xsl"/>
 
     <!-- Fix encoding issues with default UTF-8 output of the xhtml stylesheet -->
   <xsl:output method="html" encoding="ISO-8859-1" indent="no" />

+ 1 - 1
lfs-pdf.xsl

@@ -4,7 +4,7 @@
                 xmlns:fo="http://www.w3.org/1999/XSL/Format"
                 version="1.0">
     <!-- We use FO and FOP as the processor -->
-  <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.69.1/fo/docbook.xsl"/>
+  <xsl:import href="docbook-xsl-snapshot/fo/docbook.xsl"/>
   <xsl:param name="fop.extensions" select="1"/>
   <xsl:param name="draft.mode" select="'no'"/>
 

+ 3 - 3
lfs-profile.xsl

@@ -4,12 +4,12 @@
                 version="1.0">
 
   <!-- Include common profiling stylesheet -->
-  <xsl:include href="http://docbook.sourceforge.net/release/xsl/1.69.1/profiling/profile-mode.xsl"/>
+  <xsl:include href="docbook-xsl-snapshot/profiling/profile-mode.xsl"/>
 
   <!-- Generate DocBook instance with correct DOCTYPE -->
   <xsl:output method="xml"
-              doctype-public="-//OASIS//DTD DocBook XML V4.4//EN"
-              doctype-system="http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"/>
+              doctype-public="-//OASIS//DTD DocBook XML V4.5//EN"
+              doctype-system="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"/>
 
   <!-- Profiling parameters -->
   <xsl:param name="profile.arch" select="''"/>