lilalo
diff share/ug.xsl @ 113:8287cb3530de
sever files added
author | igor |
---|---|
date | Sun Mar 09 02:34:52 2008 +0200 (2008-03-09) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/share/ug.xsl Sun Mar 09 02:34:52 2008 +0200 1.3 @@ -0,0 +1,41 @@ 1.4 +<?xml version="1.0" encoding="UTF-8"?> 1.5 + 1.6 +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 1.7 + 1.8 +<xsl:output method="html" 1.9 + encoding="UTF-8" 1.10 + indent="yes"/> 1.11 + 1.12 +<!-- 1.13 +XSLT ug TO docbook 1.14 +Igor Chubin, 1.15 +Wed Dec 29 17:23:43 EET 2004 1.16 +--> 1.17 + 1.18 + 1.19 +<xsl:template match='script'> 1.20 +<sect1> 1.21 + <xsl:apply-templates/> 1.22 +</sect1> 1.23 +</xsl:template> 1.24 + 1.25 +<xsl:template match="action"> 1.26 +<screen role="command"><xsl:text> 1.27 +</xsl:text> 1.28 + <emphasis role="cline"><xsl:value-of select="line/prompt"/> 1.29 + <xsl:value-of select="line/command"/></emphasis> 1.30 + <xsl:value-of select="output"/> 1.31 +</screen> 1.32 + <xsl:apply-templates select="diff"/> 1.33 +</xsl:template> 1.34 + 1.35 +<xsl:template match="diff"><xsl:text> 1.36 +</xsl:text> 1.37 +<screen role="diff"> 1.38 + <xsl:value-of select="."/> 1.39 +</screen> 1.40 +</xsl:template> 1.41 + 1.42 + 1.43 +</xsl:stylesheet> 1.44 +