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
CIPPO, 
but if I call getAttributeNode("CIPPO") I should get CIPPO Attribute
Object or NULL?

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

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