Below is an example of using Javascript to read in data from an XML file and display it.
Inkpotamus's Spelling Rhymes page was set up in this way. Originally I showed all the Javascript code here, but it is now much too complicated, so this just shows how the XML part works.
Rather than creating separate static pages for each rhyme, it was quicker to put them all into an XML file and read them in.
I'd not written a Javascript script before, but it was quite simple. I didn't have a book but reading through the w3schools Javascript tutorial was sufficient - along with looking up particular examples elsewhere on the Internet.
It probably would have made more sense to do this in a server-side language like PHP, but I wanted to play with Javascript first.