Am new to XSLT and trying to write some xslt which is having 1st record as the header,2nd record as the status and 3rd records as the trainings and all these 3 records can be occured n numbers of time, we want that fixed length file need to be converted into xml file, below is the simple input and out file should look like.
Sample Input is :
Output should be like below with above Input :
In the above example we can distungish between record with first character of each record. I have tried but not able to getting the perfect logic.
Can any one plese help on getting this done. as this is urgent requirement for me.