Document Developer - instructions > XPath > StoryTeller XPath functions

StoryTeller XPath functions
In addition to the standard libxml2 XPath library you have access to the following functions:
 
generate-id()
current()
strs-current-position()
strs-current-last()
Example 42
The following XPath expression instantiates a "," separator after all items but the last one.
Items: {item:<description> = <value>{self::*[strs-current-position() = str-current-last()]:,}}
 
OpenText StreamServe 5.6 Updated: 2013-03-01