[XML-SIG] getAttributeNS
Jan Delgado
Jan.Delgado@unamite.com
Wed, 31 Oct 2001 19:08:29 +0100
hello,
i created DOM trees with calls to
a) dom = xml.dom.ext.reader.Sax2.FromXmlStream( sys.stdin, validate=1 )
b) dom = xml.dom.ext.reader.Sax2.FromXmlStream( sys.stdin, validate=0 )
when i try to access attributes i noticed a few problems:
1. getAttribute() does not find my attributes
2. for case a) i have to call getAttributeNS(None, "attrname")
3. for case b) i have to call getAttributeNS('', "attrname")
what is the problem here ? what is the correct way to get the
attributes ?
greetings
jan