******************************************************************** -->
+<xsl:param name="autotoc.label.separator" select="' '"/>
+
<xsl:template name="href.target">
<xsl:param name="object" select="."/>
<xsl:text>#</xsl:text>
<xsl:element name="{$toc.listitem.type}">
<xsl:apply-templates select="." mode="label.markup"/>
- <xsl:text> </xsl:text>
+ <xsl:value-of select="$autotoc.label.separator"/>
<a>
<xsl:attribute name="href">
<xsl:call-template name="href.target"/>
<xsl:element name="{$toc.listitem.type}">
<xsl:apply-templates select="." mode="label.markup"/>
- <xsl:text> </xsl:text>
+ <xsl:value-of select="$autotoc.label.separator"/>
<a>
<xsl:attribute name="href">
<xsl:call-template name="href.target"/>
<xsl:element name="{$toc.listitem.type}">
<xsl:apply-templates select="." mode="label.markup"/>
- <xsl:text> </xsl:text>
+ <xsl:value-of select="$autotoc.label.separator"/>
<a>
<xsl:attribute name="href">
<xsl:call-template name="href.target"/>
<xsl:element name="{$toc.listitem.type}">
<xsl:apply-templates select="." mode="label.markup"/>
- <xsl:text> </xsl:text>
+ <xsl:value-of select="$autotoc.label.separator"/>
<a>
<xsl:attribute name="href">
<xsl:call-template name="href.target"/>
<xsl:element name="{$toc.listitem.type}">
<xsl:apply-templates select="." mode="label.markup"/>
- <xsl:text> </xsl:text>
+ <xsl:value-of select="$autotoc.label.separator"/>
<a>
<xsl:attribute name="href">
<xsl:call-template name="href.target"/>
<xsl:element name="{$toc.listitem.type}">
<xsl:apply-templates select="." mode="label.markup"/>
- <xsl:text> </xsl:text>
+ <xsl:value-of select="$autotoc.label.separator"/>
<a>
<xsl:attribute name="href">
<xsl:call-template name="href.target"/>
<xsl:element name="{$toc.listitem.type}">
<xsl:apply-templates select="." mode="label.markup"/>
- <xsl:text> </xsl:text>
+ <xsl:value-of select="$autotoc.label.separator"/>
<a>
<xsl:attribute name="href">
<xsl:call-template name="href.target"/>
<xsl:template match="sect5" mode="toc">
<xsl:element name="{$toc.listitem.type}">
<xsl:apply-templates select="." mode="label.markup"/>
- <xsl:text> </xsl:text>
+ <xsl:value-of select="$autotoc.label.separator"/>
<a>
<xsl:attribute name="href">
<xsl:call-template name="href.target"/>
<xsl:element name="{$toc.listitem.type}">
<xsl:apply-templates select="." mode="label.markup"/>
- <xsl:text> </xsl:text>
+ <xsl:value-of select="$autotoc.label.separator"/>
<a>
<xsl:attribute name="href">
<xsl:call-template name="href.target"/>
<xsl:if test="$bridgehead.in.toc != 0">
<xsl:element name="{$toc.listitem.type}">
<xsl:apply-templates select="." mode="label.markup"/>
- <xsl:text> </xsl:text>
+ <xsl:value-of select="$autotoc.label.separator"/>
<a>
<xsl:attribute name="href">
<xsl:call-template name="href.target"/>