~ubuntu-branches/ubuntu/maverick/poedit/maverick

« back to all changes in this revision

Viewing changes to docs/man_fix.xsl

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2008-09-16 19:47:00 UTC
  • mfrom: (0.2.9 upstream) (1.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20080916194700-ueyef0pgklk3u50k
Tags: 1.4.2-2
Adding debug package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
 
 
3
<!-- This stylesheet fixes a problem with our use of AsciiDoc: we
 
4
     want to use <cmdsynopsis> for command synopsis. -->
 
5
 
 
6
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 
7
 
 
8
    <xsl:output method="xml"
 
9
                doctype-system="http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"
 
10
                doctype-public="-//OASIS//DTD DocBook XML V4.1.2//EN"/>
 
11
 
 
12
    <xsl:template match="node()|@*">
 
13
        <xsl:copy>
 
14
            <xsl:apply-templates select="node()|@*"/>
 
15
        </xsl:copy>
 
16
    </xsl:template>
 
17
 
 
18
    <xsl:template match="refsynopsisdiv/simpara">
 
19
        <cmdsynopsis>
 
20
            <xsl:apply-templates/>
 
21
        </cmdsynopsis>
 
22
    </xsl:template>
 
23
 
 
24
</xsl:stylesheet>