declared namespaces and createAttributeNS

What would be the desired effect on the declared namespaces of a
particular element after the following dom operation:

  element.setAttributeNS( document.createAttributeNS(
"http://www.tcf.nl", "tcf:title" ) );

Is a namespace declaration added to element ? (f.i. prefix=tcf,
namespaceURI="http://www.tcf.nl")
note: a createAttributeNS doesn't have an element yet.


Are 2 namespace declarations with the same prefix allowed ?

Thanks in advance,

Jeroen
 
________________________________________________________
 name          : Jeroen van Rotterdam
 organization  : The Connection Factory b.v.
                 Grotekerkplein 38
                 3011 GE  Rotterdam, the Netherlands
 url           : http://www.tcf.nl
 email         : jeroen@tcf.nl
 tel           : +31 10 4046870
 fax           : +31 10 4046498
________________________________________________________

Received on Monday, 24 January 2000 10:59:31 UTC