Debian Codegraph @

xslt/mallard/html/mal2html.xsl

raw
1 <?xml version='1.0' encoding='UTF-8'?><!-- -*- indent-tabs-mode: nil -*- -->
2 <!--
3 This program is free software; you can redistribute it and/or modify it under
4 the terms of the GNU Lesser General Public License as published by the Free
5 Software Foundation; either version 2 of the License, or (at your option) any
6 later version.
7
8 This program is distributed in the hope that it will be useful, but WITHOUT
9 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
10 FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
11 details.
12
13 You should have received a copy of the GNU Lesser General Public License
14 along with this program; see the file COPYING.LGPL. If not, see <http://www.gnu.org/licenses/>.
15 -->
16
17 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
18 xmlns:html="http://www.w3.org/1999/xhtml"
19 xmlns:mml="http://www.w3.org/1998/Math/MathML"
20 xmlns:svg="http://www.w3.org/2000/svg"
21 exclude-result-prefixes="html mml svg"
22 version="1.0">
23
24 <!--!!==========================================================================
25 Mallard to HTML
26 Transform Mallard to HTML.
27 @revision[version=3.8 date=2012-11-05 status=final]
28
29 This top-level stylesheet includes all the necessary stylesheets to transform
30 Mallard documents into HTML. It imports {mal2xhtml}, overrides parameters, and
31 sets a namespace alias to output non-XML HTML. In particular, this stylesheet
32 sets {html.xhtml} to `false` and {mal.if.target} to `'target:html'`.
33 -->
34
35 <xsl:import href="mal2xhtml.xsl"><?xsldoc.passthrough?></xsl:import>
36
37 <xsl:param name="html.xhtml" select="false()"/>
38 <xsl:param name="mal.if.target" select="'target:html'"/>
39
40 <xsl:namespace-alias stylesheet-prefix="html" result-prefix="#default"/>
41 <xsl:namespace-alias stylesheet-prefix="mml" result-prefix="#default"/>
42 <xsl:namespace-alias stylesheet-prefix="svg" result-prefix="#default"/>
43
44 </xsl:stylesheet>