Dear Monks,
I am searching for inspiration. I have many different texts in a unique .txt file. Each text is annotated with a tag (at the headings of each text). The structure looks like the following:
<text>Meta information about text 1</text> This is text one. .... This was text one. <text>Meta information about text 2</text> This is text two. .... This was text two.
My software allows users to search for a word in the .txt file, and shows in a TK::Text Wiget the portion of the text containing that word. This works fine. What I would like now to do is to retrieve the content of the <text> annotation related to the text where the word has been found. Any idea how I could implement it. I am not searching for a peace -> piece ;) of code, but just for the right inspiration...Thanks. Cla
In reply to Retrieving meta information from txt by fanticla
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |