~ubuntu-branches/ubuntu/lucid/dblatex/lucid

« back to all changes in this revision

Viewing changes to xsl/component.xsl

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Hoenen
  • Date: 2006-05-15 19:59:06 UTC
  • Revision ID: james.westby@ubuntu.com-20060515195906-jg9x08tsfbi35m2x
Tags: upstream-0.1.9
ImportĀ upstreamĀ versionĀ 0.1.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version='1.0'?>
 
2
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
 
3
 
 
4
<!--############################################################################
 
5
    XSLT Stylesheet DocBook -> LaTeX 
 
6
    ############################################################################ -->
 
7
 
 
8
<xsl:template match="preface|colophon|dedication">
 
9
  <xsl:call-template name="element.and.label"/>
 
10
  <xsl:apply-templates/>
 
11
</xsl:template>
 
12
 
 
13
<xsl:template match="dedication/title"></xsl:template>
 
14
<xsl:template match="dedication/subtitle"></xsl:template>
 
15
<xsl:template match="dedication/titleabbrev"></xsl:template>
 
16
<xsl:template match="colophon/title"></xsl:template>
 
17
<xsl:template match="preface/title"></xsl:template>
 
18
<xsl:template match="preface/titleabbrev"></xsl:template>
 
19
<xsl:template match="preface/subtitle"></xsl:template>
 
20
<xsl:template match="preface/docinfo|prefaceinfo"></xsl:template>
 
21
 
 
22
<!-- preface sect{1-5} mapped like sections -->
 
23
 
 
24
<xsl:template match="preface//sect1|
 
25
                     preface//sect2|
 
26
                     preface//sect3|
 
27
                     preface//sect4|
 
28
                     preface//sect5">
 
29
  <xsl:call-template name="map.sect.level">
 
30
    <xsl:with-param name="name" select="local-name(.)"/>
 
31
  </xsl:call-template>
 
32
  <xsl:call-template name="title.and.label"/>
 
33
  <xsl:apply-templates/>
 
34
</xsl:template>
 
35
 
 
36
</xsl:stylesheet>