Re: [Zope] XMLDcoument setAttribute error

2000-11-12 Thread Dieter Maurer
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')

[Zope] XMLDcoument setAttribute error

2000-11-11 Thread Matt
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