Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I have a text file with data like this in it:

F I G U R E 1-1 (see opposite page)

Interior of an idealized cell.

 

F I G U R E 1-2

Atrophy of the brain

 

1. I want to extract the numbers, for example: 1-1 and 1-2.

2. I also want the text below it.

 

The ex-developer used XML like this but i'm not sure how she converted the text file into XML..

 

<legend>

<figureNumber>01_001.jpg</figureNumber>

<legendText>

<B>Figure 1-1 (see opposite page)</B>

Interior of an idealized cell.

</legendText>

</legend>

 

Anyway in .net to convert txt file to XML? I'm open to other ideas on reading text file if possible.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...