Sha256: 63871f97db266aae26e7ef512782bed4a766ef468d4af592df6ed36ea8cb4e27

Contents?: true

Size: 1.81 KB

Versions: 9

Compression:

Stored size: 1.81 KB

Contents

<?xml version="1.0" encoding="ASCII"?>
<!--This file was created automatically by html2xhtml-->
<!--from the HTML stylesheets.-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">

<xsl:import href="slides-common.xsl"/>

<xsl:template match="/">
  <html>
    <head>
      <title><xsl:value-of select="/slides/slidesinfo/title"/></title>
    </head>
    <body>
      <xsl:apply-templates/>
    </body>
  </html>
</xsl:template>

<xsl:template match="slidesinfo">
  <xsl:variable name="id">
    <xsl:call-template name="object.id"/>
  </xsl:variable>

  <div id="{$id}" class="titlepage">
    <div class="titlepage-body">
      <xsl:call-template name="titlepage-body"/>
    </div>
  </div>
</xsl:template>

<xsl:template match="slides" mode="toc">
  <!-- nop -->
</xsl:template>

<xsl:template match="foil">
  <xsl:variable name="id">
    <xsl:call-template name="object.id"/>
  </xsl:variable>

  <div class="{name(.)}" id="{$id}">
    <div class="foil-body">
      <xsl:call-template name="foil-body"/>
    </div>
    <xsl:call-template name="process.footnotes"/>
  </div>
</xsl:template>

<xsl:template match="foilgroup">
  <xsl:variable name="id">
    <xsl:call-template name="object.id"/>
  </xsl:variable>

  <div class="{name(.)}" id="{$id}">
    <div class="foilgroup-body">
      <xsl:call-template name="foilgroup-body"/>
    </div>
    <xsl:call-template name="process.footnotes"/>
  </div>

  <xsl:apply-templates select="foil"/>
</xsl:template>

<xsl:template match="author" mode="titlepage.mode">
  <div class="{name(.)}">
    <h2 class="{name(.)}"><xsl:call-template name="person.name"/></h2>
    <xsl:apply-templates mode="titlepage.mode" select="./contrib"/>
    <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/>
  </div>
</xsl:template>

</xsl:stylesheet>

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
booky-0.0.4 lib/stylesheets/slides/xhtml/flat.xsl
booky-0.0.3 lib/stylesheets/slides/xhtml/flat.xsl
booky-0.0.2 lib/stylesheets/slides/xhtml/flat.xsl
booky-0.0.1 lib/stylesheets/slides/xhtml/flat.xsl
bookshop-0.0.4 lib/bookshop/generators/bookshop/app/tools/xsl/1.76.1/slides/xhtml/flat.xsl
bookshop-0.0.3 lib/bookshop/generators/bookshop/app/tools/xsl/1.76.1/slides/xhtml/flat.xsl
bookshop-0.0.2.1 lib/bookshop/generators/bookshop/project/tools/xsl/1.76.1/slides/xhtml/flat.xsl
bookshop-0.0.2 lib/bookshop/generators/bookshop/project/tools/xsl/1.76.1/slides/xhtml/flat.xsl
bookshop-0.0.1 lib/bookshop/generators/bookshop/project/tools/xsl/1.76.1/slides/xhtml/flat.xsl