text to XML Balanced Tree Index

sumanthan

New member
Joined
Jan 29, 2013
Messages
3
Programming Experience
Beginner
I need to convert the bible text to XML Balanced Tree Index.
First you have to convert each lines to XML.
example:
<line>1 text on the first line</line>
<line>2 text on the 2nd line</line>
<line>3 text on the 3rd line</line>
<line>4 text on the 4th line</line>
<line>5 text on the 5th line</line>
<line>6 text on the 6th line</line>
<line>7 text on the 7th line</line>
for the whole bible text,
Then you have create index XML
should look like "aaron"
<first text "a"></>
<second text "a"></>
<third text "r"></>
<word text ="aaron"></>
<line number> 122</> // these are the line which contain the word aaron when yo search the word "aaron"
<line number> 132</> // these are the line which contain the word aaron
<line number> 3222</> // these are the line which contain the word aaron

"the bible txt"
http://www.2shared.c...V1611Bible.html
"Exclude word when you search"
http://www.2shared.c...x9/exclude.html

The code i created is not complete!!!!
Any One Knows how to do it!!!!
 
Top Bottom