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
Paul Clapham
Ron McLeod
Jeanne Boyarsky
Tim Cooke
Sheriffs:
Liutauras Vilda
paul wheaton
Henry Wong
Saloon Keepers:
Tim Moores
Tim Holloway
Stephan van Hulst
Carey Brown
Frits Walraven
Bartenders:
Piet Souris
Himai Minh
Forum:
XML and Related Technologies
Need help in parsing text file with list to XML
Ram Shanka
Greenhorn
Posts: 1
posted 13 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.
If you try to please everybody, your progress is limited by the noisiest fool. And this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
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...