Hello all,

I was wondering what classes currently use the DOMImplementation class in the
current working draft of DOM3. My thoughts are that the DOMImplementation would
describe an user implementation of DOM and this could be used in an existing
parser.

It seems to me that given a DOMImplementation a parser (DOMParser) could
construct a DOM without knowing the concrete classes. E.g. DOMParser calls
createDocument() and then with the Document it calls create***NS() or
create***() for whatever type of node it is and begins to construct the tree
with the Node interface (appendChild() etc.). The Document in this case is a
concrete implementation that you created. You didn't create the parser but the
parser could construct the DOM using your implementation.

This seems like maybe where these interfaces are heading but I don't see how the
DOMParser would know what DOMImplementation to use when parsing given the
current interface.

Please set me strait. :)

--
Ian Lewis
[EMAIL PROTECTED]
http://jsxe.sourceforge.net

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/MU/S/M/! d-(++) s-:-- a21 C++>++++$ UL>++++$ P+>++ L+++ E--- W++ N>++
o? K->++ w-- O? M- V? PS+ PE- Y+ PGP- t- 5? X- R- !tv-- b+>++ DI+ !D G(-)
e h@ !r y?
------END GEEK CODE BLOCK------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to