This function is similar to the str:split function defined in EXSLT. It splits a string and returns a node set of token elements. Each node set contains one token from the string.<node-set> tdt:split(<node-set>, <string>)
<node-set> <string>
<data/>
<data>
<split>Hello World</split>
<split>Good Bye</split>
</data>
<data>
<split>?</split>
</data>
<tdt:rule path="/data/split">
<tdt:value key=".">tdt:split( 'Hello World, Good Bye', ', ' )
</tdt:value>
<tdt:value key="text()">text()</tdt:value>
</tdt:rule>
| OpenText StreamServe 5.6.2 | Updated: 2018-01-26 |