summaryrefslogtreecommitdiffstats
path: root/source-builder/sb/asciidoc/docbook-xsl/manpage.xsl
blob: b5201a575bec0f5959c7600519b5cf1ed8fe6864 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!--
  Generates single roff manpage document from DocBook XML source using DocBook
  XSL stylesheets.

  NOTE: The URL reference to the current DocBook XSL stylesheets is
  rewritten to point to the copy on the local disk drive by the XML catalog
  rewrite directives so it doesn't need to go out to the Internet for the
  stylesheets. This means you don't need to edit the <xsl:import> elements on
  a machine by machine basis.
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"/>
<xsl:import href="common.xsl"/>

<!-- Only render the link text -->
<xsl:template match="ulink">
  <xsl:variable name="content">
    <xsl:apply-templates/>
  </xsl:variable>
  <xsl:value-of select="$content"/>
</xsl:template>

<!-- Don't automatically generate the REFERENCES section -->
<xsl:template name="endnotes.list">
</xsl:template>
<!-- Next entry for backward compatibility with old docbook-xsl versions -->
<xsl:template name="format.links.list">
</xsl:template>

</xsl:stylesheet>