Read a tab delimited text file from xslt

Unanswered Read a tab delimited text file from xslt

  • Monday, April 30, 2012 11:49 PM
     
     

    Hi everyone,

    i need to read a tab delimited text file from xslt. im able to read the text file but im not able to convert the i/p to my desired output format.

    the input is like this format.

    country  state

    USA      Newjersey

    USA      Newyork

    USA     connecticut

    India    Mumbai

    India    Delhi

    China   Beijing

    china   shangai

    i want the ouput to be in this following format

    USA    Newjersey     Newyork    connecticut

    India   delhi         mumbai

    china   beijing     shangai

    can anyone give me the code for this challenging task. the o/p should be for each country the corresponding state

All Replies