blob: 1dc6b2d43981397ff34df65b170859a29064a0e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<?xml version="1.0" encoding="ASCII"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:d="http://docbook.org/ns/docbook"
xmlns:dbs="http://docbook.org/ns/docbook-slides"
exclude-result-prefixes="dbs d"
version="1.0">
<xsl:template name="get.title">
<xsl:param name="ctx" select="."/>
<xsl:value-of select="($ctx/d:info/d:titleabbrev|$ctx/d:titleabbrev|$ctx/d:info/d:title|$ctx/d:title)[1]"/>
</xsl:template>
<xsl:template name="get.subtitle">
<xsl:param name="ctx" select="."/>
<xsl:value-of select="($ctx/d:info/d:subtitle|$ctx/d:subtitle)[1]"/>
</xsl:template>
</xsl:stylesheet>
|