W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2007

Re: Changing xmlns attribute on the fly.

From: <keshlam@us.ibm.com>
Date: Mon, 6 Aug 2007 12:39:50 -0400
Cc: www-dom@w3.org
Message-ID: <OFC48EF713.58CECE3D-ON8525732F.005B61A9-8525732F.005B8999@lotus.com>
> setAttribute it needed for non-namespace aware documents.

setAttribute is needed for non-namespace-aware APPLICATIONS, meaning those
written for DOM 1.0.

If your application is ns-aware (as they all should be these days), it
should be using setAttributeNS even for attributes that are not in a

"... Three things see no end: A loop with exit code done wrong,
A semaphore untested, And the change that comes along. ..."
  -- "Threes" Rev 1.1 - Duane Elms / Leslie Fish
Received on Monday, 6 August 2007 16:53:18 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:13 UTC