lilalo

view share/ug.xsl @ 14:784c5382ffe2

Добавки в TODO
author devi
date Mon Jun 06 14:27:35 2005 +0300 (2005-06-06)
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>