]> granicus.if.org Git - docbook-dsssl/commitdiff
Add a colon after an abstract/title when mapping into the dc:description for OPF...
authorKeith Fahlgren <abdelazer@users.sourceforge.net>
Sun, 12 Apr 2009 23:37:50 +0000 (23:37 +0000)
committerKeith Fahlgren <abdelazer@users.sourceforge.net>
Sun, 12 Apr 2009 23:37:50 +0000 (23:37 +0000)
xsl/epub/docbook.xsl

index 54664c8444adcad300c579e0dc7dc96af5952d1b..98e262cdbd9aeaadcfee2fff05ba86bea439f8f8 100644 (file)
         <xsl:choose>
           <xsl:when test="self::formalpara">
             <xsl:value-of select="normalize-space(string(title))"/>
-            <xsl:text> </xsl:text>
+            <xsl:text>: </xsl:text>
             <xsl:value-of select="normalize-space(string(para))"/>
           </xsl:when>
           <xsl:otherwise>
             <xsl:value-of select="normalize-space(string(.))"/>
           </xsl:otherwise>  
         </xsl:choose>
+        <xsl:if test="self::title">
+          <xsl:text>:</xsl:text>
+        </xsl:if>
         <xsl:if test="not(position() = last())">
           <xsl:text> </xsl:text>
         </xsl:if>