Flat File to XML Conversion [Archive] - ProgressTalk.com
Google
 
Web ProgressTalk.com

View Full Version : Flat File to XML Conversion



jai shankar
15 Feb 2005, 04:39 AM
hi everybody,
can anyone tell me how can we convert a datafile(Text format to XML format) in Progress.
thanks in Advance.

xiffy
16 Feb 2005, 05:16 AM
depends on what is in the file and what you expect of the xml-file that should come out of it.
maybe you could be a tiny bit more specific?

Casper
16 Feb 2005, 07:08 AM
With XML You can choose any tag you want. So if you want to make a XML document from a text document all you need to do is find the logic in your text document. Name tags and fill them with whatever is in your text document. With XML you can also do stuff like <tag>put here your textdocument </tag>. So that's the reason why you got to be more specific.


Casper.

vinod_home
16 Feb 2005, 10:37 AM
Hi,

there is a xml convertor program that saves a query to xml files. You can build on that..

http://www.v9stuff.com/exportxml.p

jai shankar
21 Feb 2005, 12:19 AM
Thanks to all of U for Reply.
As I think that i have to be little bit more specific regarding my problem.
basicaaly I want to generate a XML doc from report.But there is a specfic view regarding xml.
ex:
<?xml.......... ?>
<abc:fgh abc:"http:www.w3c.com...............>
<mesageheader>
.
.
.
.
</messageheader>
<body>
<title>
.
.
.
</title>
.
<detail>
.
<abhs:bnh............>
<subject>
.
.
.
</subject>
</abhs:bnh>
</detail>
</body>
</abc:fgh>

hope now u all can clearly understand my problem.
Please reply soon.
thanks in advance.