<xsl:if test="@type='section'"><</xsl:if>
<xsl:value-of select="name"/>
<xsl:if test="@type='section'">></xsl:if>
- <xsl:text> </xsl:text>
+ <xsl:choose>
+ <xsl:when test="$messages/message[@name='directive']/@replace-space-with">
+ <xsl:value-of select="$messages/message[@name='directive']/@replace-space-with"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text> </xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
<xsl:value-of select="$messages/message[@name='directive']"/>
</xsl:with-param>
</xsl:call-template>
<xsl:if test="@type='section'"><</xsl:if>
<xsl:value-of select="name"/>
<xsl:if test="@type='section'">></xsl:if>
- <xsl:text> </xsl:text>
+ <xsl:choose>
+ <xsl:when test="$messages/message[@name='directive']/@replace-space-with">
+ <xsl:value-of select="$messages/message[@name='directive']/@replace-space-with"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text> </xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
<xsl:value-of select="$messages/message[@name='directive']"/>
</xsl:with-param>
</xsl:call-template>