W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2001

Re: Regarding setNamedItem!!!

From: Joseph Kesselman <keshlam@us.ibm.com>
Date: Tue, 16 Oct 2001 10:34:50 -0400
To: <www-dom@w3.org>
Message-ID: <OFB16FE5E4.453C3510-ON85256AE7.004FCD0E@pok.ibm.com>

>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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:55 GMT