1 | <!-- |
---|
2 | Generates single roff manpage document from DocBook XML source using DocBook |
---|
3 | XSL stylesheets. |
---|
4 | |
---|
5 | NOTE: The URL reference to the current DocBook XSL stylesheets is |
---|
6 | rewritten to point to the copy on the local disk drive by the XML catalog |
---|
7 | rewrite directives so it doesn't need to go out to the Internet for the |
---|
8 | stylesheets. This means you don't need to edit the <xsl:import> elements on |
---|
9 | a machine by machine basis. |
---|
10 | --> |
---|
11 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
---|
12 | <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"/> |
---|
13 | <xsl:import href="common.xsl"/> |
---|
14 | |
---|
15 | <!-- Only render the link text --> |
---|
16 | <xsl:template match="ulink"> |
---|
17 | <xsl:variable name="content"> |
---|
18 | <xsl:apply-templates/> |
---|
19 | </xsl:variable> |
---|
20 | <xsl:value-of select="$content"/> |
---|
21 | </xsl:template> |
---|
22 | |
---|
23 | <!-- Don't automatically generate the REFERENCES section --> |
---|
24 | <xsl:template name="endnotes.list"> |
---|
25 | </xsl:template> |
---|
26 | <!-- Next entry for backward compatibility with old docbook-xsl versions --> |
---|
27 | <xsl:template name="format.links.list"> |
---|
28 | </xsl:template> |
---|
29 | |
---|
30 | </xsl:stylesheet> |
---|
31 | |
---|