The csl:template instruction defines rules for generating ContentMap item and its text.
<csl:template match="XSLT-pattern" profiles="profile-list" fold="yes|no" max-length="123"> <!-- Content: (csl:text | csl:number | csl:collect-text | csl:value-of | csl:when-closed )* --> </csl:template>
Optional match attribute is an XSLT pattern that identifies the elements to which the template is applicable.
The optional profiles attribute specifies the list of profiles to which this rule is applicable. If not present or is empty then rule matches default (unnamed) profile.
The optional fold attribute specifies whether to continue recursive processing or stop at this point. When processing is stopped the item is shown as folded. Default value is "no".
The optional max-length attribute specifies maximum total length of the concatenated results of all sub-instructions. When this length is exceeded, the string gets truncated and '...' is added to the end of the string.
The optional font-style attribute specifies the font style for text in ContentMap item. The possible values are:
normal
italic
The optional font-weight attribute specifies the font weight for text in ContentMap item. The possible values are:
normal
bold
The optional text-decoration attribute specifies the text decoration in ContentMap item. The possible values are:
normal
underline
overline
line-through
The optional color attribute specifies the text color in ContentMap item. The value may be either hexadecimal RGB value (e.g " #0D0C0E") or word (e.g. " green", " red", or " navy").
The optional mixed-only attribute specifies that template must match only for elements with mixed content (which may have character data inside). Note that this attribute works only when validation is enabled.