A
Ajay
hi!
i am trying to print the keys of a NamedNodeMap which contains the
attributes of a element.
for the element,
<DATA ref="#business.name">CatalogExample</DATA>
i expect
attribs = plist[0].attributes
attribs.keys()
to print "ref" #plist[0] is the data element shown above
It however prints the following
[(None, u'ref')]
why?
thanks
cheers
i am trying to print the keys of a NamedNodeMap which contains the
attributes of a element.
for the element,
<DATA ref="#business.name">CatalogExample</DATA>
i expect
attribs = plist[0].attributes
attribs.keys()
to print "ref" #plist[0] is the data element shown above
It however prints the following
[(None, u'ref')]
why?
thanks
cheers