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
I'm not sure about the feasibility of the iteration. You can use recursion obsviously as shown in other answers. This is my proposal (not much different from the others apart the fact I'm using template match patterns and not named templates):