Ignore:
Timestamp:
2008-10-08T13:59:48+13:00 (16 years ago)
Author:
anna
Message:

Updated tutorials and associated files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documentation/trunk/tutorials/processing/xml-to-one-html.xsl

    r13638 r17494  
    66  <xsl:output method="html"/>
    77  <!-- set mode to cd/web depending on where the files will end up -->
    8   <xsl:variable name="mode">web</xsl:variable>
     8  <xsl:variable name="mode">wiki</xsl:variable>
    99
    1010  <xsl:template match="TutorialList">
     
    2222    </dl>
    2323    <xsl:apply-templates select="Tutorial[not(@hidden)]"/>
     24   
     25    <hr/><div style="text-align:center;"><xsl:apply-templates select="SupplementaryText/Text[@id='copyright']"/></div>
    2426      </body>
    2527    </html>
     
    3537
    3638  <xsl:template match="Tutorial">
     39    <div style="page-break-before: always;">
    3740    <a name="{@id}"/>
    3841    <h2><xsl:apply-templates select="Title/Text"/></h2>
     
    4245      </xsl:call-template>
    4346    </div>
    44     <xsl:apply-templates select="Content/*"/>
     47    <xsl:apply-templates select="Content/*"/>   
    4548    <br/>
    4649    <br/>
     50    </div>
    4751  </xsl:template>
    4852
    4953  <xsl:template name="supplementary">
    5054    <xsl:param name="mode">web</xsl:param>
     55    <!--
    5156    <xsl:call-template name="IndexLink">
    5257      <xsl:with-param name="mode">combined</xsl:with-param>
    5358    </xsl:call-template>
     59    -->
    5460    <xsl:apply-templates select="Prerequisite" mode="combined"/>
    5561    <xsl:if test="SampleFiles">
Note: See TracChangeset for help on using the changeset viewer.