[yelp-xsl] mal2xhtml: Add xhtml to mal.if.env when xhtml
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp-xsl] mal2xhtml: Add xhtml to mal.if.env when xhtml
- Date: Mon, 16 May 2011 00:01:40 +0000 (UTC)
commit 00dc56d803d71dcb1ca23378a4d47bcd166fa754
Author: Shaun McCance <shaunm gnome org>
Date: Sun May 15 20:06:00 2011 -0400
mal2xhtml: Add xhtml to mal.if.env when xhtml
xslt/mallard/html/mal2html.xsl | 1 +
xslt/mallard/html/mal2xhtml.xsl | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/xslt/mallard/html/mal2html.xsl b/xslt/mallard/html/mal2html.xsl
index a9d807c..401dc0d 100644
--- a/xslt/mallard/html/mal2html.xsl
+++ b/xslt/mallard/html/mal2html.xsl
@@ -31,6 +31,7 @@ REMARK: Describe this module
<!--#@ html.xhtml -->
<xsl:param name="html.xhtml" select="false()"/>
+<xsl:param name="mal.if.env" select="'html'"/>
<xsl:namespace-alias stylesheet-prefix="html" result-prefix="#default"/>
diff --git a/xslt/mallard/html/mal2xhtml.xsl b/xslt/mallard/html/mal2xhtml.xsl
index 839e973..2da9038 100644
--- a/xslt/mallard/html/mal2xhtml.xsl
+++ b/xslt/mallard/html/mal2xhtml.xsl
@@ -38,7 +38,7 @@ REMARK: Describe this module
<xsl:import href="../common/mal-if.xsl"/>
<xsl:import href="../common/mal-link.xsl"/>
-<xsl:param name="mal.if.env" select="'html'"/>
+<xsl:param name="mal.if.env" select="'html xhtml'"/>
<xsl:param name="mal.link.extension" select="$html.extension"/>
<xsl:include href="mal2html-block.xsl"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]