lfs-chunked2.xsl 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?xml version='1.0' encoding='ISO-8859-1'?>
  2. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  3. xmlns="http://www.w3.org/1999/xhtml"
  4. version="1.0">
  5. <!-- REVISED -->
  6. <!-- Second level chunked output template.
  7. Sets global params and include customized elements templates-->
  8. <!-- Upstream XHTML presentation templates -->
  9. <xsl:import href="docbook-xsl-snapshot/xhtml/docbook.xsl"/>
  10. <!-- Use ISO-8859-1 for output instead of default UTF-8 -->
  11. <xsl:param name="chunker.output.encoding" select="'ISO-8859-1'"/>
  12. <!-- Including our customized elements templates -->
  13. <xsl:include href="xhtml/lfs-admon.xsl"/>
  14. <xsl:include href="xhtml/lfs-sections.xsl"/>
  15. <xsl:include href="xhtml/lfs-mixed.xsl"/>
  16. <xsl:include href="xhtml/lfs-titles.xsl"/>
  17. <xsl:include href="xhtml/lfs-toc.xsl"/>
  18. <xsl:include href="xhtml/lfs-xref.xsl"/>
  19. <!-- This file contains our localization strings (for internationalization) -->
  20. <xsl:param name="local.l10n.xml" select="document('lfs-l10n.xml')"/>
  21. <!-- The CSS Stylesheets. We set here relative path from sub-dirs HTML files.
  22. The path from top-level HTML files (index.html, partX.html, etc) MUST be
  23. fixed via a sed in the Makefile-->
  24. <!-- Master CSS Stylesheet -->
  25. <xsl:param name="html.stylesheet" select="'../stylesheets/lfs.css'"/>
  26. <!-- Print CSS Stylesheet -->
  27. <!-- The original template is in {docbook-xsl}/xhtml/docbook.xsl -->
  28. <xsl:template name='user.head.content'>
  29. <link rel="stylesheet" href="../stylesheets/lfs-print.css" type="text/css" media="print"/>
  30. </xsl:template>
  31. <!-- Dropping some unwanted style attributes -->
  32. <xsl:param name="ulink.target" select="''"></xsl:param>
  33. <xsl:param name="css.decoration" select="0"></xsl:param>
  34. <!-- No XML declaration -->
  35. <xsl:param name="chunker.output.omit-xml-declaration" select="'yes'"/>
  36. </xsl:stylesheet>