convert a .out file to xml

D

debbie523

Hi there,

I am a newbie in xml. Now I'm I have a program which give birth a .out
file after running. And I need to convert this .out file to xml file.
This output file looks like:

1 2 3 4 5 6 7 8 9
0 2 5 7 8 9 1 2 1
2 5 6 8 9 0 4 7 8
.........................
1 2 4 5 7 9 9 5 0

Somebody could help me?
Any help will be greatly appreciated.

DFang
 
J

Johannes Koch

debbie523 said:
I am a newbie in xml. Now I'm I have a program which give birth a .out
file after running. And I need to convert this .out file to xml file.
This output file looks like:

1 2 3 4 5 6 7 8 9
0 2 5 7 8 9 1 2 1
2 5 6 8 9 0 4 7 8
.........................
1 2 4 5 7 9 9 5 0

Somebody could help me?

_An_ XML file would be something like

<root>1 2 3 4 5 6 7 8 9
0 2 5 7 8 9 1 2 1
2 5 6 8 9 0 4 7 8
..........................
1 2 4 5 7 9 9 5 0</root>

But this may not be enough for you. It depends on what you want to do
with the created XML. Hopefully you know about the structure of your
output file. Maybe you want to make this structure explicit in the
created XML. But _we_ don't know. So we can't help you very much.
 
P

Peter Flynn

debbie523 said:
Hi there,

I am a newbie in xml. Now I'm I have a program which give birth a .out
file after running. And I need to convert this .out file to xml file.
This output file looks like:

1 2 3 4 5 6 7 8 9
0 2 5 7 8 9 1 2 1
2 5 6 8 9 0 4 7 8
........................
1 2 4 5 7 9 9 5 0

Somebody could help me?

Modify the program to output XML instead of the above.

///Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,002
Messages
2,570,261
Members
46,859
Latest member
VallieMcKe

Latest Threads

Top