Register / Login
Win a copy of
Think Java: How to Think Like a Computer Scientist
this week in the
Java in General
XML and Related Technologies
Need help in parsing text file with list to XML
posted 7 years ago
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.
Could annotation based and xml based configuration be used together in spring 2.5?
instanceof with boolean
Allowing & br tags to show using XSL