mirror of
https://github.com/Poltern/lfs-ru.git
synced 2024-10-19 12:10:32 +03:00
20 lines
638 B
XML
20 lines
638 B
XML
|
<?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>
|