lilalo

annotate share/ug.xsl @ 129:34a84028ddea

File list cleaned up
author Igor Chubin <igor@chub.in>
date Fri Jul 04 17:40:51 2008 +0300 (2008-07-04)
parents
children
rev   line source
devi@0 1 <?xml version="1.0" encoding="UTF-8"?>
devi@0 2
devi@0 3 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
devi@0 4
devi@0 5 <xsl:output method="html"
devi@0 6 encoding="UTF-8"
devi@0 7 indent="yes"/>
devi@0 8
devi@0 9 <!--
devi@0 10 XSLT ug TO docbook
devi@0 11 Igor Chubin,
devi@0 12 Wed Dec 29 17:23:43 EET 2004
devi@0 13 -->
devi@0 14
devi@0 15
devi@0 16 <xsl:template match='script'>
devi@0 17 <sect1>
devi@0 18 <xsl:apply-templates/>
devi@0 19 </sect1>
devi@0 20 </xsl:template>
devi@0 21
devi@0 22 <xsl:template match="action">
devi@0 23 <screen role="command"><xsl:text>
devi@0 24 </xsl:text>
devi@0 25 <emphasis role="cline"><xsl:value-of select="line/prompt"/>
devi@0 26 <xsl:value-of select="line/command"/></emphasis>
devi@0 27 <xsl:value-of select="output"/>
devi@0 28 </screen>
devi@0 29 <xsl:apply-templates select="diff"/>
devi@0 30 </xsl:template>
devi@0 31
devi@0 32 <xsl:template match="diff"><xsl:text>
devi@0 33 </xsl:text>
devi@0 34 <screen role="diff">
devi@0 35 <xsl:value-of select="."/>
devi@0 36 </screen>
devi@0 37 </xsl:template>
devi@0 38
devi@0 39
devi@0 40 </xsl:stylesheet>
devi@0 41