| 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 6910 2007-06-28 23:23:30Z xmldoc $ |
| 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="class.attribute"/> |
| 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="class.attribute"/> |
| 37 |
<xsl:apply-templates/> |
| 38 |
</span> |
| 39 |
</xsl:template> |
| 40 |
|
| 41 |
<!-- ==================================================================== --> |
| 42 |
|
| 43 |
</xsl:stylesheet> |