Peter Wilson wrote: > Sorry about the cross post, but I didn't get any answers from the folks > at the dom newsgroup. > > I am attempting to display an XML Document in an outliner. I would like > to annotate the dom nodes with view specific > info with calls like: > node.viewData = new ViewData(isOpen, childCount) > > This works fine once, then the annotations appear to have disappeared. > Are wrapped XPCom objects not first class javascript objects? > Does anyone have any ideas what is going wrong?
http://www.mozilla.org/scriptable/js-components-status.html, look for the section called "Unwrapping". Mike
