i,
I have a CSV output file, where in it has empty lines at the end of the file, I want to remove these empty lines, Can some one pls help on this, as how to remove these empty lines by using Xquery/XSLT.

sample file:

20110706,GGG,LMM,Q,POT,O
20110708,AAA,OPP,P,MAT
20110715,BBB,TTT,O,TIN


// empty lines



Thanks..