Hi, Peteryen
Here's the deal with the string-length xpath funciton.
string-length won't work in the query tag because the query tag requires a record set,
but you can select the record using the query tag and then use string-length in a different tag that uses that query's variable:
<wr:query select="/data/field" var="field"/>
<wr:out select="string-length(${field})" />
The set tag is not a datasource enabled tag, it only uses hard-coded values or variables thar are in scope (like ${field}), and so it doesn't use xpath functions, but you can carry a variable through it and use the string-length function on a datasource enabled tag like out tag.
- Tomas