10.0
10.0-rc1
10.1
10.1-rc1
11.0
11.0-rc1
11.0-rc2
11.0-rc3
11.1
11.1-rc1
11.2
11.2-rc1
11.3
11.3-rc1
12.0
12.0-rc1
12.1
12.1-rc1
12.2
12.2-rc1
7.5
7.6
7.7
7.8
7.9
8.0
8.1
8.2
8.3
8.4
9.0
9.1
arm
bdubbs/gcc13
ml-11.0
multilib
renodr/libudev-from-systemd
s6-init
trunk
xry111/arm64
xry111/arm64-12.0
xry111/clfs-ng
xry111/lfs-next
xry111/loongarch
xry111/loongarch-12.0
xry111/loongarch-12.1
xry111/loongarch-12.2
xry111/mips64el
xry111/multilib
xry111/pip3
xry111/rust-wip-20221008
xry111/update-glibc
Rev | Line | |
---|
[15c7d39] | 1 | <xsl:stylesheet version='1.0'
|
---|
| 2 | xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
|
---|
| 3 | xmlns:rnd='http://docbook.org/ns/docbook/roundtrip'
|
---|
| 4 | xmlns:db='http://docbook.org/ns/docbook'
|
---|
| 5 | exclude-result-prefixes='db'>
|
---|
| 6 |
|
---|
| 7 | <!-- ********************************************************************
|
---|
| 8 | $Id$
|
---|
| 9 | ********************************************************************
|
---|
| 10 |
|
---|
| 11 | This file is part of the XSL DocBook Stylesheet distribution.
|
---|
| 12 | See ../README or http://nwalsh.com/docbook/xsl/ for copyright
|
---|
| 13 | and other information.
|
---|
| 14 |
|
---|
| 15 | ******************************************************************** -->
|
---|
| 16 |
|
---|
| 17 | <!-- rnd:map-paragraph-style and rd:map-character-style
|
---|
| 18 | allows the application to customise
|
---|
| 19 | the style names used by overriding this template.
|
---|
| 20 | The idea is to map custom names back to standard names. -->
|
---|
| 21 | <xsl:template name='rnd:map-paragraph-style'>
|
---|
| 22 | <xsl:param name='style'/>
|
---|
| 23 | <xsl:choose>
|
---|
| 24 | <xsl:when test='starts-with($style, "Normal")'/>
|
---|
| 25 |
|
---|
| 26 | <!-- Probably should fold all style names to lower-case -->
|
---|
| 27 | <xsl:when test='$style = "Caption"'>caption</xsl:when>
|
---|
| 28 |
|
---|
| 29 | <xsl:otherwise>
|
---|
| 30 | <xsl:value-of select='$style'/>
|
---|
| 31 | </xsl:otherwise>
|
---|
| 32 | </xsl:choose>
|
---|
| 33 | </xsl:template>
|
---|
| 34 | <xsl:template name='rnd:map-character-style'>
|
---|
| 35 | <xsl:param name='style'/>
|
---|
| 36 | <xsl:value-of select='$style'/>
|
---|
| 37 | </xsl:template>
|
---|
| 38 |
|
---|
| 39 | </xsl:stylesheet>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.