On 09/26/2018 11:59 PM, Julie McHam wrote:
Which attribute set or parameter would I customize if I wanted to
change  the spacing above and below all instances of the <div> tag in
DOCX output? I am transforming my DITA files to DOCX and the resulting
output has extra spacing wherever <div> tags appear in the source.


Sorry but there are no such attribute-sets or parameters.

Excerpts from <ditac_install_dir_or_dita_config_dir>/xsl/fo/topic.xsl:
---
 <!-- Transparent containers. No attribute-sets. -->

  <xsl:template match="*[contains(@class,' topic/bodydiv ')] |
                       *[contains(@class,' topic/sectiondiv ')] |
                       *[contains(@class,' topic/div ')]">
    <fo:block>
      <xsl:call-template name="commonAttributes"/>
      <xsl:apply-templates/>
    </fo:block>
  </xsl:template>
---

A DITA <div> is treated as a *transparent* *container*, therefore there are no attribute-sets or parameters which are used to render it.


--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support

Reply via email to