XML and a Dashboard Widget

wxdqz

New Member
I am trying to make a Dictionary Dashboard Widget for Mac.

I have all the dictionary entries in a plain text file and I think that XML would be the best way to convert this plain text of about 10,000 entries into separate XML bits like.

"A

Apple, noun. My Laptop"

INTO

<A>
<word> Apple </word>
<wordtype> noun </wordtype>
<definition> My Laptop </definition>
</A>

Then i would have to build a CSS/HTML thingy around it to make the dashboard.

Is XML the best language to use for this project, to make everything easily and quickly searchable, and what is the most efficient way to get this dictionary chopped up and more readable.

Could I also just open the text file in Microsoft word, and save as a website and turn it all into HTML and still read the file easily in a Dashboard widget?
 
Back
Top