perl-begin / lib / sgml / shlomif-docbook / xsl-5-stylesheets / shlomif-essays-5.xsl

<?xml version='1.0' encoding='UTF-8'?>
<xsl:stylesheet xmlns:xsl="" xmlns="" version="1.0">
    <xsl:param name="">1</xsl:param>
    <xsl:param name="html.stylesheet">style.css</xsl:param>
    <xsl:param name="">1</xsl:param>
    <xsl:param name="chunker.output.doctype-public">-//W3C//DTD XHTML 1.0 Transitional//EN</xsl:param>
    <xsl:param name="chunker.output.doctype-system"></xsl:param>
    <!-- Parameters for Generating Strict Output. See:
    <xsl:param name="css.decoration">0</xsl:param>
    <xsl:param name=""></xsl:param>
    <xsl:param name="use.viewport">0</xsl:param>
    <!-- End of Strict Params -->
    <xsl:param name="toc.section.depth">10</xsl:param>
    <xsl:param name="generate.section.toc.level">10</xsl:param>
    <!-- Enable fop extensions - see:
    <xsl:param name="fop1.extensions">1</xsl:param>

<xsl:template name="html_itemized_list">
    <div xmlns="" class="{name(.)}">
    <xsl:call-template name="anchor"/>
    <xsl:if test="title">
      <xsl:call-template name="formal.object.heading"/>

    <xsl:apply-templates select="*[not(self::listitem or self::title
        or self::titleabbrev)]"/>

         <xsl:if test="@role">
             <xsl:attribute name="class">
                 <xsl:value-of select="@role"/>

      <xsl:if test="$css.decoration != 0">
        <xsl:attribute name="type">
          <xsl:call-template name="list.itemsymbol"/>

      <xsl:if test="@spacing='compact'">
        <xsl:attribute name="compact">
          <xsl:value-of select="@spacing"/>
      <xsl:apply-templates select="listitem"/>

<!-- Insert some AdSense Ads -->
<xsl:template name="user.header.navigation">
    <div class="site_nav_menu">
            <li><a href="{$docmake.output.path_to_root}">Home</a></li>
            <li><a href="{$docmake.output.path_to_root}humour/">Humour</a></li>
            <li><a href="{$docmake.output.path_to_root}philosophy/">Articles and Essays</a></li>
            <li><a href="{$docmake.output.path_to_root}puzzles/">Puzzles</a></li>
            <li><a href="{$docmake.output.path_to_root}art/">Computer Art</a></li>
    <div class="center ads_top"></div>
    <xsl:if test="string($docmake.output.work_in_progress)">
    <div class="center warning">
            <b>Note:</b> This document is work-in-progress. Please don’t
            publish it on news sites, or otherwise link to it in public
            without the author’s permission. Private linking is acceptable.

<!-- Disable the title="" attribute in sections. -->
<xsl:template name="generate.html.title">

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.