W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2001

getAttributeNode vs getAttributeNodeNS

From: Paolo Casarini <casarini@CS.UniBO.IT>
Date: Wed, 14 Feb 2001 09:12:27 +0100 (CET)
To: www-dom@w3.org
Message-ID: <Pine.LNX.4.21.0102140901440.32308-100000@annina.cs.unibo.it>
With an xml element like this:

<TEST xmlns:pippo="urn:ex.ex.ex" FOO="bar" pippo:CIPPO="lippo" />

if I call on the TEST element object the method getAttributeNode("FOO") I
get the attribute object of FOO, if I call the
getAttributeNodeNS("urn:ex.ex.ex","CIPPO") I get the attribute object of
but if I call getAttributeNode("CIPPO") I should get CIPPO Attribute
Object or NULL?

Paolo Casarini - casarini@cs.unibo.it
Received on Wednesday, 14 February 2001 03:12:33 UTC

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