[sword-devel] zLD / treekey

Troy A. Griffitts sword-devel@crosswire.org
Thu, 03 Jan 2002 16:44:16 -0700


OK, Chris made a deal with me.  He's gonna try / test / debug the zLD
stuff and I'm gonna work on general book support. :)

To start, I'm gonna work on a new SWKey decendent: TreeKey.  This will
be useful in both gbs and the common bookmark format for which everyone
is asking.

I'm gonna probably model it after the W3C DOM Node interface at:

http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-1950641247


To start, it will include the basics (in addition to the SWKey base
methods):

// position methods
parent();
firstChild();
previousSibling();
nextSibling();

// write methods
insertBefore();
remove();
append();
appendChild();
boolean hasChildNodes();
setUserData(in void *data);
void *getUserData();


Any comments?

	-Troy.