Hello,
I'm implementing the DOM (just like MSXML)
For those who know, there's a DOMImplementation interface, which can be
accessed by document.documentImplementation
The way I'd like to implement this DOMImplementation is on an object that is
common for all documents.
My program is a DLL, and I've heard that singletons don't work with DLLs,
What I would like though is that there's only one DOMImplementation object
for each client of the DLL.
I don't know how MSXML has done it, but in all their examples, they always
create a document first and access the DOMImplementation through the
document, that's not really what I want, as the DOMImplementation also has a
createDocument method, so it really should be the other way around.
Any thoughts?
thanks,
--
Sigurd Lerstad