I\'m writing an XSLT transformation (for XSL-FO), and need to repeat something for each letter in a string value, for example:
If string is stored in MyData/My
MyData/My
you could use a call template and pass parameters, then use recursion to call the template untill there are no characters left.
example added below.
on this xml
something
and this xslt
you will then be able to manipulate in the if statement to do further stuff!