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
-
Tuesday, May 01, 2012 5:50 AM
Hi,
I think you need to use SSIS. in SSIS after you read your data from your source file and think you need to pivot it and then send it to the destination.
http://msdn.microsoft.com/en-us/library/ms140308.aspx
Step by Step examples:
http://www.bimonkey.com/2009/06/the-pivot-transformation/
I hope this is helpful.
Please Mark it as Answered if it answered your question
OR mark it as Helpful if it help you to solve your problem
Elmozamil Elamir Hamid
MyBlog
-
Tuesday, May 01, 2012 2:54 PMin our project there is no SSIS ...there is only XSLT. is there any solution available in XSLT
-
Monday, May 14, 2012 1:21 PM
Hope this link might help you.
http://stackoverflow.com/questions/4912900/modifying-a-xslt-for-converting-xml-to-tab-delimited-text-file

