Ignore:
Timestamp:
2007-01-24T17:21:45+13:00 (17 years ago)
Author:
lh92
Message:

changed to display the navigation links

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl-documentation/manuals/processing/xml-to-many-html.xsl

    r13649 r13785  
    99  <xsl:include href="crossref-inter.xsl"/>
    1010
    11   <xsl:output method="html"/> 
     11  <xsl:output method="html"/>
    1212 
    13   <xsl:template match="Chapter|FootnoteList">   
     13  <xsl:template match="Chapter|FootnoteList">
    1414    <html>
    1515      <head>
    16     <title><xsl:apply-templates select="Title/Text"/></title>
    17     <link rel="stylesheet" href="../style.css" type="text/css"/>
     16            <title><xsl:apply-templates select="Title/Text"/></title>
     17            <link rel="stylesheet" href="../../style.css" type="text/css"/>
    1818      </head>
    1919      <body>
    2020        <table width="90%" border="0" align="center"><tr><td>
    21     <h2><xsl:value-of select="/Manual/Heading/Text"/>&#160;<xsl:value-of select="/Manual/Title/Text"/></h2>
    22     <a name="Chapter_{@id}"/><h1>
    23       <xsl:if test="not(starts-with(@id, 'appendix') or starts-with(@id, 'biblio'))">
    24       Chapter <xsl:number/>&#160;</xsl:if><xsl:apply-templates select="Title/Text"/></h1>
    25    
    26     <xsl:if test="Content/Section">
    27     <h3>Contents</h3>   
    28     <xsl:apply-templates select="Content/Section" mode="index"/>
    29     </xsl:if>
     21                <h2><xsl:value-of select="/Manual/Heading/Text"/>&#160;<xsl:value-of select="/Manual/Title/Text"/></h2>
     22                <a name="Chapter_{@id}"/><h1>
     23              <xsl:if test="not(starts-with(@id, 'appendix') or starts-with(@id, 'biblio'))">
     24              Chapter <xsl:number/>&#160;</xsl:if><xsl:apply-templates select="Title/Text"/></h1>   
     25             
     26            <xsl:apply-templates select="/Manual/SupplementaryText">
     27                <xsl:with-param name="manual_id" select="/Manual/@id"/>
     28                <xsl:with-param name="manual_lang" select="/Manual/@lang"/>
     29            </xsl:apply-templates>
     30           
     31                <xsl:if test="Content/Section">
     32                <h3>Contents</h3>
     33                <xsl:apply-templates select="Content/Section" mode="index"/>
     34                </xsl:if>
    3035
    3136    <xsl:apply-templates select="Content/*"/>   
Note: See TracChangeset for help on using the changeset viewer.