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
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
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....