summaryrefslogtreecommitdiff
path: root/xslt/mallard/html/mal2html.xsl
blob: 01f1b23abe8dbc47783d3cb9196fb279db7db952 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?xml version='1.0' encoding='UTF-8'?><!-- -*- indent-tabs-mode: nil -*- -->
<!--
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your option) any
later version.

This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
details.

You should have received a copy of the GNU Lesser General Public License
along with this program; see the file COPYING.LGPL.  If not, see <http://www.gnu.org/licenses/>.
-->

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:html="http://www.w3.org/1999/xhtml"
                xmlns:mml="http://www.w3.org/1998/Math/MathML"
                xmlns:svg="http://www.w3.org/2000/svg"
                exclude-result-prefixes="html mml svg"
                version="1.0">

<!--!!==========================================================================
Mallard to HTML
Transform Mallard to HTML.
@revision[version=3.8 date=2012-11-05 status=final]

This top-level stylesheet includes all the necessary stylesheets to transform
Mallard documents into HTML. It imports {mal2xhtml}, overrides parameters, and
sets a namespace alias to output non-XML HTML. In particular, this stylesheet
sets {html.xhtml} to `false` and {mal.if.target} to `'target:html'`.
-->

<xsl:import href="mal2xhtml.xsl"><?xsldoc.passthrough?></xsl:import>

<xsl:param name="html.xhtml" select="false()"/>
<xsl:param name="mal.if.target" select="'target:html'"/>

<xsl:namespace-alias stylesheet-prefix="html" result-prefix="#default"/>
<xsl:namespace-alias stylesheet-prefix="mml" result-prefix="#default"/>
<xsl:namespace-alias stylesheet-prefix="svg" result-prefix="#default"/>

</xsl:stylesheet>