Hi Folks,
I'm new to xslt transofrmation so need a little help in transforming the following example.
Input:
<Persons>12</Persons>
Output:
<PassengerRPHs ListOfPassengerRPH="1 2"/>
The main thing above is to put a space between digits, 123 -> 1 2 3.
It would be perfect if the transformation also handles 9101112 -> 9 10 11 12
In typical java programming, i know i can tokenize it using some RE and put a space in between and concatenate, but i'm not sure how to do the same in XSLT:(
Any help would be much appreciated.