ContentMap on Figure 1 looks pretty good but we can do it much better. In real documents some content should be somehow emphasised. This will generally improve readability and ease of navigation.
See example Emphasizing Titles.Figure 1. ContentMap Items Decorated
First of all let's customise default profile (it was already used implicitly). We will set icon and inscription to default profile tab using csl:profile.
Then we add specific template that matches title element. In this template attributes font-style and font-weight will cause ContentMap item to show its text in bold and italic.
<?xml version='1.0'?> <csl:stylesheet xmlns:csl="http://www.syntext.com/Extensions/CSL-1.0"> <csl:profile icon="toc_icon" inscription="Content Map"/> <csl:template match="title" font-style="italic" font-weight="bold"> <csl:collect-text/> </csl:template> <csl:template match="*"> <csl:collect-text select="text()"/> <csl:when-closed> <csl:collect-text/> </csl:when-closed> </csl:template> </csl:stylesheet>
Now ContentMap looks much better: