This function is similar to the str:concat function defined in EXSLT. It takes a node set and a string separator and returns the concatenation of the string values of the nodes in that node set.
Note: <string> tdt:concat(<node-set>[, <string>])
<node-set> Strings to be concatenated. If the node set is empty, an empty string is returned. <string> String separator (can be an empty string). If no separator is defined, the strings are concatenated without a separator.
<data>
<message>
<word>We</word>
<word>are</word>
<word>having</word>
<word>fun</word>
</message>
</data>
<data>
<sentence>We are having fun</sentence>
</data>
<data>
<sentence>?</sentence>
</data>
<tdt:rule path="/data/sentence">
<tdt:value key="text()">tdt:concat(/data/message/word, ' ')
</tdt:value>
</tdt:rule>
| OpenText StreamServe 5.6.2 | Updated: 2018-01-26 |