[yelp-xsl] dita2html-block: Implement section



commit 50e756962ef2c81a0e10a6d64414e86297ca92b9
Author: Shaun McCance <shaunm gnome org>
Date:   Tue Oct 2 19:01:27 2012 -0400

    dita2html-block: Implement section
    
    DITA sections are weird. They're more like DocBook's formalpara
    than they are like a section, except they might not have a title,
    or maybe they'll have a bunch of titles, interspersed anywhere
    throughout the rest of the child elements.

 xslt/dita/html/dita2html-block.xsl |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/xslt/dita/html/dita2html-block.xsl b/xslt/dita/html/dita2html-block.xsl
index dcfb763..61d7a94 100644
--- a/xslt/dita/html/dita2html-block.xsl
+++ b/xslt/dita/html/dita2html-block.xsl
@@ -143,6 +143,14 @@ REMARK: Describe this module
   </div>
 </xsl:template>
 
+<!-- = section = -->
+<xsl:template mode="dita2html.topic.mode" match="&topic_section;">
+  <div class="section">
+    <xsl:call-template name="html.lang.attrs"/>
+    <xsl:apply-templates mode="dita2html.topic.mode"/>
+  </div>
+</xsl:template>
+
 <!-- = shortdesc = -->
 <xsl:template mode="dita2html.topic.mode" match="&topic_shortdesc;">
   <p class="shortdesc">



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]