File: man.xsl.in

package info (click to toggle)
netatalk 3.1.12~ds-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 14,756 kB
  • sloc: ansic: 104,976; sh: 8,247; xml: 7,394; perl: 1,936; makefile: 1,430; python: 1,342; yacc: 309; lex: 49
file content (26 lines) | stat: -rw-r--r-- 895 bytes parent folder | download | duplicates (2)
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
<?xml version='1.0'?> 
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> 
<xsl:import href="@DOCBOOK_ROOT@/manpages/docbook.xsl"/> 

<!-- * Collect date from <refmiscinfo class="date"> -->
<xsl:param name="refentry.date.profile.enabled">1</xsl:param>
<xsl:param name="refentry.date.profile">
  (//refmiscinfo[@class='date'])[last()]
</xsl:param>

<!-- * Suppress extra :VERSION: -->
<xsl:param name="refentry.version.suppress">1</xsl:param>

<!-- * Example without numbering -->
<xsl:param name="local.l10n.xml" select="document('')"/>
<l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
<l:l10n language="en">
 <l:context name="title">
    <l:template name="example" text="Example.&#160;%t"/>
 </l:context>
 <l:context name="title-numbered">
    <l:template name="example" text="Example.&#160;%t"/>
 </l:context>
</l:l10n>
</l:i18n>
</xsl:stylesheet>