12 Nov
2000
12 Nov
'00
10:47 p.m.
Matt writes:
I have an external method like the following
def make_an_element(self,REQUEST): new_elem = self.createElement(REQUEST.new_elem_name) Use: new_elem = self.createElement(REQUEST.new_elem_name).__of__(self) new_elem.setAttribute('hello','there') self.appendChild(new_elem)
I call this on an XMLdocument root node and get the following error at the setAttribute stage :
Error Type: AttributeError Error Value: aq_base
Dieter