summaryrefslogtreecommitdiffstats
path: root/tools/Sandcastle/ProductionTransforms/CreateVSToc.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/Sandcastle/ProductionTransforms/CreateVSToc.xsl')
-rw-r--r--tools/Sandcastle/ProductionTransforms/CreateVSToc.xsl7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/Sandcastle/ProductionTransforms/CreateVSToc.xsl b/tools/Sandcastle/ProductionTransforms/CreateVSToc.xsl
index 8a48a3f..abf3ef3 100644
--- a/tools/Sandcastle/ProductionTransforms/CreateVSToc.xsl
+++ b/tools/Sandcastle/ProductionTransforms/CreateVSToc.xsl
@@ -66,7 +66,7 @@
<xsl:param name="initialName" select="containers/library/@assembly" />
<xsl:variable name="componentNameLength" select="string-length($initialName)" />
<xsl:choose>
- <xsl:when test="$componentNameLength > $maxProjectNameLength">
+ <xsl:when test="$componentNameLength >= $maxProjectNameLength">
<xsl:variable name="left" select="substring($initialName, 1, $leftLength)" />
<xsl:variable name="right" select="substring($initialName, $componentNameLength - $rightLength)" />
<xsl:value-of select="concat($left,'_',$right)" />
@@ -135,6 +135,11 @@
<xsl:call-template name="AddMemberListTree"/>
</xsl:for-each>
+ <!-- insert the Operators topic, if present -->
+ <xsl:for-each select="key('index', concat('Operators.', $typeId))">
+ <xsl:call-template name="AddMemberListTree"/>
+ </xsl:for-each>
+
<!-- insert the Properties topic, if present -->
<xsl:for-each select="key('index', concat('Properties.', $typeId))">
<xsl:call-template name="AddMemberListTree"/>