Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within XML
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
Ron McLeod
paul wheaton
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Devaka Cooray
Saloon Keepers:
Tim Holloway
Roland Mueller
Himai Minh
Bartenders:
Forum:
XML and Related Technologies
Need help in parsing text file with list to XML
Ram Shanka
Greenhorn
Posts: 1
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
?
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Could annotation based and xml based configuration be used together in spring 2.5?
Enum doubt
instanceof with boolean
Allowing & br tags to show using XSL
Javascript ScrollTo problem
More...