lilalo
view share/ug.xsl @ 40:5e5878bd1b20
Скрипты lm вынесены в отдельный файл l3config
author | devi |
---|---|
date | Tue Nov 22 22:47:47 2005 +0200 (2005-11-22) |
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>