Thank you for your proposed solution, and the detailed explanation was very helpful indeed.
This does indeed get a lot farther along than my attempts.
I've removed all full-stops from my authors to avoid the initials issue.
This works perfectly for single authored books, but is still not quite there for co-authored ones.
Dual authored books, I get a three level hierarchy looking like this :-
-Anderson_ Kevin J
- Dune Caladan, Herbert_ Brian
- Dune Caladan
and under the author Herbert_ Brian there is no hierarchy including Dune Caladan.
It seems as if the list is not being separated at the comma into the two separate hierarchy entries.
Triple authored books, such as Road to Dune by Frank Herbert, Brian Herbert and Kevin J Anderson don't appear anywhere in the hierarchy which is again, I guess, associated by the extra comma.
I've tried messing around with subitem() to see if it would help, but then I lost single authored series all together.
I'd be most grateful if you had any further pointers or ideas.
|