mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 15:12:11 +08:00
0459c5597a
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2186 af4574ff-66df-0310-9fd7-8a98e5e911e0
40 lines
1.1 KiB
XML
40 lines
1.1 KiB
XML
<?xml version='1.0' encoding='ISO-8859-1'?>
|
|
|
|
<!-- Version 0.9 - Manuel Canales Esparcia <macana@lfs-es.org> -->
|
|
|
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
xmlns="http://www.w3.org/1999/xhtml"
|
|
version="1.0">
|
|
|
|
<xsl:template match="screen">
|
|
<xsl:choose>
|
|
<!-- Temporally hack -->
|
|
<!-- Broke userinput <xsl:when test="child::* = userinput">
|
|
<pre class="{name(.)}">
|
|
<kbd class="command">
|
|
<xsl:value-of select="."/>
|
|
</kbd>
|
|
</pre>
|
|
</xsl:when> -->
|
|
<!-- This should be fixed in the XML code -->
|
|
|
|
<xsl:when test="contains(text() , 'SBU')">
|
|
<p class="sbu">
|
|
<tt>
|
|
<xsl:value-of select="substring-before(text() , 'R')"/>
|
|
<br/>
|
|
<xsl:value-of select="substring-after(text() , 'U')"/>
|
|
</tt>
|
|
</p>
|
|
</xsl:when>
|
|
|
|
<xsl:otherwise>
|
|
<pre class="{name(.)}">
|
|
<xsl:apply-templates/>
|
|
</pre>
|
|
</xsl:otherwise>
|
|
</xsl:choose>
|
|
</xsl:template>
|
|
|
|
</xsl:stylesheet>
|