- Timestamp:
- 2008-10-08T13:59:48+13:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
documentation/trunk/tutorials/processing/xml-to-one-html.xsl
r13638 r17494 6 6 <xsl:output method="html"/> 7 7 <!-- set mode to cd/web depending on where the files will end up --> 8 <xsl:variable name="mode">w eb</xsl:variable>8 <xsl:variable name="mode">wiki</xsl:variable> 9 9 10 10 <xsl:template match="TutorialList"> … … 22 22 </dl> 23 23 <xsl:apply-templates select="Tutorial[not(@hidden)]"/> 24 25 <hr/><div style="text-align:center;"><xsl:apply-templates select="SupplementaryText/Text[@id='copyright']"/></div> 24 26 </body> 25 27 </html> … … 35 37 36 38 <xsl:template match="Tutorial"> 39 <div style="page-break-before: always;"> 37 40 <a name="{@id}"/> 38 41 <h2><xsl:apply-templates select="Title/Text"/></h2> … … 42 45 </xsl:call-template> 43 46 </div> 44 <xsl:apply-templates select="Content/*"/> 47 <xsl:apply-templates select="Content/*"/> 45 48 <br/> 46 49 <br/> 50 </div> 47 51 </xsl:template> 48 52 49 53 <xsl:template name="supplementary"> 50 54 <xsl:param name="mode">web</xsl:param> 55 <!-- 51 56 <xsl:call-template name="IndexLink"> 52 57 <xsl:with-param name="mode">combined</xsl:with-param> 53 58 </xsl:call-template> 59 --> 54 60 <xsl:apply-templates select="Prerequisite" mode="combined"/> 55 61 <xsl:if test="SampleFiles">
Note:
See TracChangeset
for help on using the changeset viewer.