Hi Pat,
DOM Level 2 events are described in the spec
"http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113/events.html",
But according to my understanding, you won't get any (mutation) event when
you call Document.importNode(). This method doesn't modify the current
document, but create a DOM sub-tree instead. You have to call append or
insert methods later to really put the newly created sub-tree into the
document. And it's at that point you would get the event.
Did I miss something here?
Cheers,
Sandy Gao
Software Developer, IBM Canada
(1-416) 448-3255
[EMAIL PROTECTED]
Pat Bateman
<patb@genaware To: [EMAIL PROTECTED]
.com> cc:
Subject: Document.ImportNode() and Events
07/11/2001
10:02 AM
Please respond
to
xerces-j-dev
What is the expected behavior when importing a node in terms of the
registered event listeners. I am bound to DOM level 2 currently so
cannot use the adoptNode implementation that is specified in DOM level 3.
Ive looked the DOM Level 2 documentation but have found nothing.
Has anybody out there dealt with DOM Events and importing of nodes.
Cheers
Pat
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]