diff options
author | Shaun McCance <shaunm@src.gnome.org> | 2007-08-10 14:23:05 +0000 |
---|---|---|
committer | Shaun McCance <shaunm@src.gnome.org> | 2007-08-10 14:23:05 +0000 |
commit | 4ea90adf6ef272bb26ce444e5a2fdea400ad7c19 (patch) | |
tree | f16be658efab22a29cb0f41170d8257f7dfb4759 /xslt/docbook/omf/db2omf.xsl | |
parent | 6b5fe53bbcd51ee24c68b87f752158f433b25b84 (diff) | |
download | gnome-doc-utils-4ea90adf6ef272bb26ce444e5a2fdea400ad7c19.tar.gz |
- Fixed format/@mime output
* xslt/docbook/omf/db2omf.xsl:
- Fixed format/@mime output
svn path=/trunk/; revision=1010
Diffstat (limited to 'xslt/docbook/omf/db2omf.xsl')
-rw-r--r-- | xslt/docbook/omf/db2omf.xsl | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/xslt/docbook/omf/db2omf.xsl b/xslt/docbook/omf/db2omf.xsl index 1765b1c..c9932ae 100644 --- a/xslt/docbook/omf/db2omf.xsl +++ b/xslt/docbook/omf/db2omf.xsl @@ -538,23 +538,16 @@ REMARK: Document this select="*[substring(local-name(.), string-length(local-name(.)) - 3) = 'info']"/> <format> + <xsl:attribute name="mime"> + <xsl:value-of select="$db2omf.mime"/> + </xsl:attribute> <xsl:choose> <xsl:when test="$db2omf.mime = 'text/xml'"> - <xsl:attribute name="mime"> - <xsl:value-of select="text/xml"/> - </xsl:attribute> <xsl:attribute name="dtd"> <xsl:value-of select="$db2omf.dtd"/> </xsl:attribute> </xsl:when> - <xsl:when test="$db2omf.mime = 'text/html'"> - <xsl:attribute name="mime"> - <xsl:value-of select="text/html"/> - </xsl:attribute> - <!-- FIXME: - <xsl:attribute name="dtd"/> - --> - </xsl:when> + <xsl:when test="$db2omf.mime = 'text/html'"/> <xsl:otherwise> <xsl:message terminate="yes"> <xsl:text>db2omf: Unknown value of db2omf.mime: "</xsl:text> |