Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Feedback on: irt.org FAQ Knowledge Base Q5212

irt.org | About | Feedback | 2950 [ previous next ]

Feedback on:
irt.org FAQ Knowledge Base Q5212

Sent by
François Vaudrin on July 10, 2001 at 18:30:09:

Comments:
I would like to know how I can construct an XML file from a .txt file

For example, if I have a .txt file with 3 coloums and I want to transform it in a .xml file with 3 tags.

.txt file

cat flower red
dog tree brown
....

.xml file

<misc>
<animal>cat</animal>
<plant>flower</plant>
<colour>red</colour>
</misc>
<misc>
<animal>dog</animal>
<plant>tree</plant>
<colour>brown</colour>
</misc>

Are there a script to do that easily ?

Thank you

François Vaudrin



Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 21st December 2007. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.