~ubuntu-branches/ubuntu/gutsy/gnome-doc-utils/gutsy

« back to all changes in this revision

Viewing changes to xslt/docbook/omf/db2omf.xsl

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-08-21 10:40:02 UTC
  • mfrom: (1.1.16 upstream)
  • Revision ID: james.westby@ubuntu.com-20070821104002-90ao5uojgaufk7iy
Tags: 0.11.2-0ubuntu1
* New upstream version:
  - Added db2html.division.div.content.mode
  - Added support for manual indexes
  - Fixed the mime attribute in OMF output
  - Worked on the HTML output for refentry
  - Switched to set:has-same-node for node comparisons
  - Updated translations

Show diffs side-by-side

added added

removed removed

Lines of Context:
538
538
             select="*[substring(local-name(.), string-length(local-name(.)) - 3)
539
539
                       = 'info']"/>
540
540
  <format>
 
541
    <xsl:attribute name="mime">
 
542
      <xsl:value-of select="$db2omf.mime"/>
 
543
    </xsl:attribute>
541
544
    <xsl:choose>
542
545
      <xsl:when test="$db2omf.mime = 'text/xml'">
543
 
        <xsl:attribute name="mime">
544
 
          <xsl:value-of select="text/xml"/>
545
 
        </xsl:attribute>
546
546
        <xsl:attribute name="dtd">
547
547
          <xsl:value-of select="$db2omf.dtd"/>
548
548
        </xsl:attribute>
549
549
      </xsl:when>
550
 
      <xsl:when test="$db2omf.mime = 'text/html'">
551
 
        <xsl:attribute name="mime">
552
 
          <xsl:value-of select="text/html"/>
553
 
        </xsl:attribute>
554
 
        <!-- FIXME:
555
 
        <xsl:attribute name="dtd"/>
556
 
        -->
557
 
      </xsl:when>
 
550
      <xsl:when test="$db2omf.mime = 'text/html'"/>
558
551
      <xsl:otherwise>
559
552
        <xsl:message terminate="yes">
560
553
          <xsl:text>db2omf: Unknown value of db2omf.mime: "</xsl:text>