2 <!DOCTYPE xsl:stylesheet [
3 <!ENTITY nbsp SYSTEM "util/nbsp.xml">
5 <xsl:stylesheet version="1.0"
6 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
7 xmlns="http://www.w3.org/1999/xhtml">
11 <!-- Process an entire document into an HTML page -->
13 <xsl:template match="manualpage">
14 <html xml:lang="{$messages/@lang}" lang="{$messages/@lang}">
15 <xsl:call-template name="head"/>
18 </xsl:text> <!-- insert line break -->
20 <body id="manual-page">
21 <!-- unsqueeze if there's no sidebar -->
22 <xsl:if test="not(count(section) > 1 or seealso)">
23 <xsl:attribute name="class">no-sidebar</xsl:attribute>
26 <xsl:call-template name="top"/>
28 <div id="page-content">
31 <xsl:value-of select="title"/>
34 <xsl:apply-templates select="summary"/>
35 </div> <!-- /preamble -->
38 </xsl:text> <!-- insert line break -->
40 <xsl:if test="(not($is-chm) and count(section) > 1) or seealso">
42 <xsl:if test="not($is-chm) and count(section) > 1">
44 <xsl:apply-templates select="section" mode="index"/>
48 <xsl:if test="seealso">
50 <xsl:value-of select="$messages/message[@name='seealso']"/>
53 <xsl:for-each select="seealso">
55 <xsl:apply-templates/>
61 </div> <!-- /quickview -->
64 </xsl:text> <!-- insert line break -->
68 <xsl:apply-templates select="section"/>
69 </div> <!-- /page-content -->
72 </xsl:text> <!-- insert line break -->
74 <xsl:call-template name="bottom"/>
77 </xsl:text> <!-- insert line break -->