title: DITA Open Toolkit CHM (HTML Help Workshop) output
body: <p>I use the DITA Open Toolkit to convert my DITA files into CHM (HTML Help Worskhop) and tocjs (HTML) format.</p>
  
  <p>I need to copy the content of 1 topic into all the others topics of my map (like a header file for example).</p>
  
  <p>I tested to create a header template :</p>
  
  <blockquote>
  <pre><code>&lt;xsl:template name="ShortDescriptionTemplate"&gt;
  </code></pre>
    
    <blockquote>
  <pre><code>&lt;p class="Dx:ShortDescription"&gt;
   &lt;!--&lt;xsl:apply-templates select="*[contains(@class,' topic/shortdesc ')]"/&gt;--&gt;
    &lt;xsl:variable name="shortDv1"&gt;&lt;xsl:apply-templates select="shortdesc"/&gt;&lt;/xsl:variable&gt;
    &lt;xsl:value-of select="normalize-space($shortDv1)"/&gt;
  &lt;/p&gt;&lt;xsl:value-of select="$newline"/&gt;   
  &lt;/xsl:template&gt;
  </code></pre>
    </blockquote>
  
  <pre><code>&lt;xsl:template match="/|node()|@*" mode="gen-user-header"&gt;
  </code></pre>
    
    <blockquote>
  <pre><code>&lt;div id="header"&gt;
    &lt;xsl:if test="contains(@class,' topic/topic ')"&gt;
       &lt;xsl:text&gt;Bonjour 1&lt;/xsl:text&gt;&lt;!-- Works!!! Displays on all topics --&gt;
        &lt;xsl:call-template name="ShortDescriptionTemplate"/&gt;
       &lt;!-- Doesn't Works!!! Displays on my shortdesc topic but nothing in the others topics--&gt;
      &lt;xsl:copy-of select="shortdesc"/&gt; &lt;!-- nothing in the others topics--&gt;
  &lt;/div&gt;
  &lt;/xsl:template&gt;
  </code></pre>
    </blockquote>
  </blockquote>
  
  <p>Someone to help me ?</p>
  
  <p>Thanks,</p>