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
I have an external method like the following
def make_an_element(self,REQUEST):
new_elem = self.createElement(REQUEST.new_elem_name)
new_elem.setAttribute('hello','there')
self.appendChild(new_elem)
I call this on an XMLdocument root node and get the following error at
the setAttribu