• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

text to xml

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
Is there any general mechanism to convert a large text file into a well formed xml file? I have company data in a text file with large no of data items, some repeated, some having attributes. To represent this in xml format, is there any preferred way available? any tools?
The task is essentially identifying the data in the text file & marking it up. Like searching for something & adding our tags to that value. Any help?
Regards,
Senthil
 
Ranch Hand
Posts: 782
Python Chrome Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
From what you're describing; your requirement is to "markup" text documents and produce an XML file. Since you've not indicated whether you have mixed content or not; I am going
to assume the later.
You should check out b-bop's addon to Microsoft Word tool.
http://www.b-bop.com/products_xfinity_author_wX.htm .
Also Omnimark has a great tool.
Pho
 
Ranch Hand
Posts: 356
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If your text document is well formed(I mean of fixed length fields, or of fields well demarkated, then you can write your own tool in Java. It should not take more than 1 hr on an average....

------------------
Shubhrajit :-)
 
reply
    Bookmark Topic Watch Topic
  • New Topic