The csl:collect-text instruction appends text collected from several nodes to ContentMap item generated by parent csl:template.
Text collection is done by traversing the source document subtree from current node, and concatenated content of all text nodes. Traversing is done in document order.
<csl:collect-text select="xpath-expr" max-length="50"/>
The optional select attribute specifies XPath expression returning node-set to collect text from. Default value is "*".
The optional first-node-only attribute specifies that text should be collected only from the first node of node-set, and only if this first node is a text node. This attribute can take "yes" and "no" values (default is "no").
Text collection stops when content exceeds the given limit. The optional max-length attribute specifies maximum length of the string which is collected from descendant text nodes. Default value is "50".