[sword-devel] Understanding the structure of generic books and their relationship with TreeKey.
Matthew Talbert
ransom1982 at gmail.com
Mon Nov 2 22:30:16 MST 2009
Just so there isn't confusion, I've corrected mine to match Troy's
link. My chaining back up was incorrect.
void getSectionsList(TreeKey *tk, list l)
{
l.append (tk->getText());
if tk->hasChildren()
{
tk->firstChild();
getSectionsList(tk, l);
tk->parent();
}
while tk->nextSibling()
{
getSectionsList(tk, l);
}
}
More information about the sword-devel
mailing list