Defining View of Folded Items

ContentMap item in the folded state may look different in unfolded state. In order to define item representation in the folded state the csl:when-closed instruction is used.

<csl:when-closed>
  <!-- Content: (csl:text | csl:number | 
                 csl:collect-text | csl:value-of)* -->
</csl:template>
    

The csl:when-closed instruction holds instructions for folded ContentMap item. When this instruction is present in csl:template then child instructions of csl:when-closed are instantiated for folded item instead of csl:template child instructions.