The Princess and the Goblin by MacDonald, George
 is a Project Gutenberg book, now on Github.