lilalo
view share/ug.xsl @ 124:d702a44d5d6d
Command structure fields desription have moved to wiki
author | Igor Chubin <igor@chub.in> |
---|---|
date | Fri Jul 04 11:09:56 2008 +0300 (2008-07-04) |
parents | |
children |
line source
1 <?xml version="1.0" encoding="UTF-8"?>
3 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
5 <xsl:output method="html"
6 encoding="UTF-8"
7 indent="yes"/>
9 <!--
10 XSLT ug TO docbook
11 Igor Chubin,
12 Wed Dec 29 17:23:43 EET 2004
13 -->
16 <xsl:template match='script'>
17 <sect1>
18 <xsl:apply-templates/>
19 </sect1>
20 </xsl:template>
22 <xsl:template match="action">
23 <screen role="command"><xsl:text>
24 </xsl:text>
25 <emphasis role="cline"><xsl:value-of select="line/prompt"/>
26 <xsl:value-of select="line/command"/></emphasis>
27 <xsl:value-of select="output"/>
28 </screen>
29 <xsl:apply-templates select="diff"/>
30 </xsl:template>
32 <xsl:template match="diff"><xsl:text>
33 </xsl:text>
34 <screen role="diff">
35 <xsl:value-of select="."/>
36 </screen>
37 </xsl:template>
40 </xsl:stylesheet>