Debian Codegraph @

docbook-xsl-ns/slides/common/common.xsl

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