Re: Regarding setNamedItem!!!

>what kind of checking  should  I make to choose an appropriate method from
level 1 or level 2
>(the one with namespaces).

Simple advice: Use the Level 2 calls.

The Level 1 calls are still there only because we wanted Level 2 parsers
(and other DOM sources) to be downward-compatable with old Level 1
applications. Elements and attributes created with the Level
1non-namespaced methods are _not_ fully upward compatable with Level 2
code; don't bother trying.

______________________________________
Joe Kesselman  / IBM Research

Received on Tuesday, 16 October 2001 10:35:26 UTC