For my immediate purposes I need to take a mysql structure set up like so:
Book Name <-> Chapter Name <-> Sentence text
where the <-> is a lookup table and Chapter name exists only once in the database, but has a 1:N relationship with books (i.e., Chapter 1 exists in many books). This is where I'm having a problem converting from. I'm not sure how I handle the unique id per node, or how to recalculate or anything else along those lines. This is new territory for me. I think I'm going to have to get the book suggested below.
I ran across Tree.pm awhile ago, thanks for refreshing my memory on it.