Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Remove empty lines in the CSV file using Xquery/XSLT.

user12679330Jul 27 2011 — edited Aug 4 2011
Hi,
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..

Edited by: user12679330 on Jul 27, 2011 12:29 AM

Edited by: user12679330 on Jul 27, 2011 12:32 AM

Edited by: user12679330 on Jul 27, 2011 12:32 AM
This post has been answered by AbhishekJ on Aug 1 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 1 2011
Added on Jul 27 2011
10 comments
2,441 views