A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
Need help in parsing text file with list to XML
Joined: Oct 23, 2008
Oct 23, 2008 16:03:00
I have a tricky situation, I have a text file which contains thousands of lines, each lines has delimiter as tab. Here is the text snapshot
line 1 line2 line3 line4 line5 line6 line7 line8 line9
I want the xml as
<line 1> <line2/> <line3> <line4/> </line3> <line5/> <line6> <line7> <line8/> </line7> </line6> </line1> <line9/>
Any help on this is greatly appreciated.
I agree. Here's the link:
subject: Need help in parsing text file with list to XML
instanceof with boolean
Allowing & br tags to show using XSL
Could annotation based and xml based configuration be used together in spring 2.5?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014