[docs] Doublespacing after <simplesect>
[adg.git] / docs / gnu / docbook2txt.xsl
blob14cd51d0cf1161a163e63c8a1ba349aebc293949
1 <?xml version="1.0" encoding="utf-8"?>
3 <xsl:stylesheet version="1.0"
4 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
5 xmlns:str="http://exslt.org/strings">
7 <xsl:output method="text" omit-xml-declaration="yes" indent="no" encoding="utf-8"/>
8 <xsl:strip-space elements="*"/>
10 <xsl:template match="/chapter/title|subtitle">
11 </xsl:template>
13 <xsl:template match="simplesect">
14 <xsl:apply-templates/>
15 <xsl:text>
16 </xsl:text>
17 </xsl:template>
19 <xsl:template match="title">
20 <xsl:value-of select="."/>
21 <xsl:text>
22 </xsl:text>
23 <xsl:value-of select="str:padding(string-length(),'=')"/>
24 <xsl:text>
26 </xsl:text>
27 </xsl:template>
29 <xsl:template match="para">
30 <xsl:apply-templates/>
31 <xsl:text>
33 </xsl:text>
34 </xsl:template>
36 <xsl:template match="ulink"><xsl:value-of select="."/> (<xsl:value-of select="@url"/>)</xsl:template>
38 <xsl:template match="itemizedlist">
39 <xsl:apply-templates select="listitem"/>
40 <xsl:text>
41 </xsl:text>
42 </xsl:template>
44 <xsl:template match="listitem">* <xsl:apply-templates/><xsl:text>
45 </xsl:text>
46 </xsl:template>
48 </xsl:stylesheet>