>Yet cloning a node with CloneNode's argument "deep" set to false will >perform no cloning of the children (except for an Attribute) Last time I looked at the DOM3 spec (too long ago!), there was a corresponding "deep" argument for isEqualNode(). But this seems to be absent in the current public working draft for DOM3 Core. I'm slightly surprised, since it seems a trivial addition to the API. Question for the DOM team: Is the problem that nobody had a good usage case for shallow testing of a node, or did this just fall through the cracks? (It would seem to me that shallow testing is at least as useful as shallow cloning...) ______________________________________ Joe Kesselman / IBM ResearchReceived on Tuesday, 7 May 2002 10:29:00 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 3 May 2007 00:17:14 GMT