> Documentation was poor or non-existent
That's absolutley not true.
"Rapid Application Development with Mozilla" has been published before 2004. It is still online: http://mb.eschew.org/
XUL (and assorted technologies) is/were broadly documentet on MDN.