Tidy some grammar and remove a silly colloquialism.
[dcpomatic.git] / doc / manual / dcpomatic-html.xsl
1 <?xml version='1.0'?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3                 xmlns:fo="http://www.w3.org/1999/XSL/Format"
4                 version="1.0">
5
6 <!-- Our CSS -->
7 <xsl:param name="html.stylesheet" select="'dcpomatic.css'"/>
8
9 <!-- I can't fathom xmlto's logic with image scaling, so I've turned it off -->
10 <xsl:param name="ignore.image.scaling" select="1"/>
11
12 <!-- <note> in a div with no heading -->
13 <xsl:template name="note.frobozz">
14   <xsl:param name="content">
15     <xsl:apply-templates/>
16   </xsl:param>
17   <xsl:text disable-output-escaping="yes">&lt;div class="note"&gt;</xsl:text>
18   <xsl:copy-of select="$content"/>
19   <xsl:text disable-output-escaping="yes">&lt;/div&gt;</xsl:text>
20 </xsl:template>
21
22 <xsl:template match="note">
23   <xsl:call-template name="note.frobozz"/>
24 </xsl:template>
25
26 </xsl:stylesheet>