OLD | NEW |
| (Empty) |
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 9297 2012-04-22 03:56:16Z 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:call-template name="id.attribute"/> | |
29 <xsl:apply-templates/> | |
30 </span> | |
31 </xsl:template> | |
32 | |
33 <!-- ==================================================================== --> | |
34 | |
35 <xsl:template match="jobtitle"> | |
36 <span> | |
37 <xsl:apply-templates select="." mode="common.html.attributes"/> | |
38 <xsl:call-template name="id.attribute"/> | |
39 <xsl:apply-templates/> | |
40 </span> | |
41 </xsl:template> | |
42 | |
43 <!-- ==================================================================== --> | |
44 | |
45 </xsl:stylesheet> | |
OLD | NEW |