getAttributeNode vs getAttributeNodeNS

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 UTC