summaryrefslogtreecommitdiff
path: root/xslt/docbook/omf/db2omf.xsl
diff options
context:
space:
mode:
authorShaun McCance <shaunm@src.gnome.org>2004-10-05 22:45:54 +0000
committerShaun McCance <shaunm@src.gnome.org>2004-10-05 22:45:54 +0000
commit7f116d495876e6a51eee96398d0d9e7aa51a9f53 (patch)
tree7643acc20f28ba7e0f2445629716876e791aa3fa /xslt/docbook/omf/db2omf.xsl
parent940a1fabe5049419069954f8578023a818bc2cd5 (diff)
downloadgnome-doc-utils-7f116d495876e6a51eee96398d0d9e7aa51a9f53.tar.gz
- Changes required to pass 'make check'
* doc/gnome-doc-make/C/gnome-doc-make.xml: * doc/xslt/C/gnome-doc-xslt.xml: * xslt/docbook/omf/db2omf.xsl: * xslt/xsldoc/xsldoc.xsl: - Changes required to pass 'make check'
Diffstat (limited to 'xslt/docbook/omf/db2omf.xsl')
-rw-r--r--xslt/docbook/omf/db2omf.xsl16
1 files changed, 8 insertions, 8 deletions
diff --git a/xslt/docbook/omf/db2omf.xsl b/xslt/docbook/omf/db2omf.xsl
index 5039b91..0e7d4ed 100644
--- a/xslt/docbook/omf/db2omf.xsl
+++ b/xslt/docbook/omf/db2omf.xsl
@@ -24,16 +24,16 @@
<xsl:param name="db2omf.basename"/>
-<!-- == db2omf.format ====================================================== -->
+<!-- == db2omf.mime ======================================================== -->
<parameter xmlns="http://www.gnome.org/~shaunm/xsldoc">
- <name>db2omf.format</name>
+ <name>db2omf.mime</name>
<description>
- The format of the referenced document, docbook or html
+ The MIME type of the referenced document, docbook or html
</description>
</parameter>
-<xsl:param name="db2omf.format" select="'docbook'"/>
+<xsl:param name="db2omf.mime" select="'text/xml'"/>
<!-- == db2omf.dtd ========================================================= -->
@@ -547,7 +547,7 @@
= 'info']"/>
<format>
<xsl:choose>
- <xsl:when test="$db2omf.format = 'docbook'">
+ <xsl:when test="$db2omf.mime = 'text/xml'">
<xsl:attribute name="mime">
<xsl:value-of select="text/xml"/>
</xsl:attribute>
@@ -555,7 +555,7 @@
<xsl:value-of select="$db2omf.dtd"/>
</xsl:attribute>
</xsl:when>
- <xsl:when test="$dbomf.format = 'html'">
+ <xsl:when test="$dbomf.mime = 'text/html'">
<xsl:attribute name="mime">
<xsl:value-of select="text/html"/>
</xsl:attribute>
@@ -565,8 +565,8 @@
</xsl:when>
<xsl:otherwise>
<xsl:message>
- <xsl:text>db2omf: Unknown value of db2omf.format: </xsl:text>
- <xsl:value-of select="$db2omf.format"/>
+ <xsl:text>db2omf: Unknown value of db2omf.mime: </xsl:text>
+ <xsl:value-of select="$db2omf.mime"/>
</xsl:message>
</xsl:otherwise>
</xsl:choose>