Changeset 5417
- Timestamp:
- 2003-09-02T15:01:53+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/help/gen-one-html.xsl
r5415 r5417 20 20 <title>The Greenstone Librarian Interface - Help Pages</title> 21 21 </head> 22 <body bgcolor="#E0F0E0"> <!-- link="#000000" vlink="#000000"> -->22 <body bgcolor="#E0F0E0"> 23 23 <xsl:for-each select="Section"> 24 24 <xsl:call-template name="processSection"> … … 29 29 </html> 30 30 </xsl:template> 31 32 <xsl:template match="ObviousSentence"/> 31 33 32 34 <xsl:template match="Reference"> … … 60 62 </xsl:template> 61 63 64 62 65 <xsl:template name="processTitle"> 63 66 <xsl:param name="sectionNumber"/> 64 67 <xsl:param name="sectionTitle"/> 65 68 66 <h2>Section <xsl:value-of select="concat($sectionNumber, ': ', $sectionTitle)"/></h2> 69 <xsl:choose> 70 <xsl:when test="contains($sectionNumber, '.')"> 71 <h3>Section <xsl:value-of select="concat($sectionNumber, ': ', $sectionTitle)"/></h3> 72 </xsl:when> 73 <xsl:otherwise> 74 <h1>Section <xsl:value-of select="concat($sectionNumber, ': ', $sectionTitle)"/></h1> 75 </xsl:otherwise> 76 </xsl:choose> 67 77 </xsl:template> 68 78
Note:
See TracChangeset
for help on using the changeset viewer.