Project

General

Profile

1
<?xml version='1.0'?>
2
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3
                version='1.0'>
4

    
5
<!-- ********************************************************************
6
     $Id: info.xsl 8421 2009-05-04 07:49:49Z bobstayton $
7
     ********************************************************************
8

    
9
     This file is part of the XSL DocBook Stylesheet distribution.
10
     See ../README or http://docbook.sf.net/release/xsl/current/ for
11
     copyright and other information.
12

    
13
     ******************************************************************** -->
14

    
15
<!-- These templates define the "default behavior" for info
16
     elements.  Even if you don't process the *info wrappers,
17
     some of these elements are needed because the elements are
18
     processed from named templates that are called with modes.
19
     Since modes aren't sticky, these rules apply. 
20
     (TODO: clarify this comment) -->
21

    
22
<!-- ==================================================================== -->
23
<!-- called from named templates in a given mode -->
24

    
25
<xsl:template match="corpauthor">
26
  <span>
27
    <xsl:apply-templates select="." mode="common.html.attributes"/>
28
    <xsl:apply-templates/>
29
  </span>
30
</xsl:template>
31

    
32
<!-- ==================================================================== -->
33

    
34
<xsl:template match="jobtitle">
35
  <span>
36
    <xsl:apply-templates select="." mode="common.html.attributes"/>
37
    <xsl:apply-templates/>
38
  </span>
39
</xsl:template>
40

    
41
<!-- ==================================================================== -->
42

    
43
</xsl:stylesheet>
(22-22/39)