Subversion Repositories svn LFS-FR


Rev 7158 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<?xml version='1.0' encoding='UTF-8'?>

$LastChangedBy: manuel $
$Date: 2007-07-07 12:25:55 +0200 (sam, 07 jui 2007) $

<xsl:stylesheet xmlns:xsl=""

   <!-- Top-level chunked code for normal processing.
       Import customized output templates.
       Include customized chunk templates.
       Replaces {docbook-xsl}/xhtml/chunk.xsl -->

    <!-- Our master non-chunking presentation templates -->
  <xsl:import href="chunk-slave.xsl"/>

    <!-- Upstream chunk code named templates -->
  <xsl:import href="DOCBOOK_LOCATION/xhtml/chunk-common.xsl"/>

    <!-- Upstream chunk code match templates -->
  <xsl:include href="DOCBOOK_LOCATION/xhtml/chunk-code.xsl"/>

    <!-- Including our customized chunks templates -->
  <xsl:include href="xhtml/lfs-index.xsl"/>
  <xsl:include href="xhtml/lfs-legalnotice.xsl"/>
  <xsl:include href="xhtml/lfs-navigational.xsl"/>

    <!-- sect1:
          Prevent creation of dummy sect1 files used to emulate sub-chapters. -->
    <!-- The original template is in {docbook-xsl}/xhtml/chunk-code.xsl
        It match also others sect* tags. The code for that tags is unchanged. -->
  <xsl:template match="sect1">
    <xsl:variable name="ischunk">
      <xsl:call-template name="chunk"/>
      <xsl:when test="@role = 'dummy'"/>
      <xsl:when test="not(parent::*)">
        <xsl:call-template name="process-chunk-element"/>
      <xsl:when test="$ischunk = 0">
        <xsl:call-template name="process-chunk-element"/>