This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author avono
Recipients Alexandre.Zani, BreamoreBoy, avono, exarkun
Date 2012-05-25.12:07:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1337947663.63.0.426995182324.issue4849@psf.upfronthosting.co.za>
In-reply-to
Content
stupid question but why shouldn't this be possible ? 

class Element(_Element):
	def __init__(self,name,**kwargs):
		_Element.__init__(self,name)
                attributes = kwargs.get("attributes")
                children = kwargs.get("children")
		for key,value in attributes.iteritems():
			self.setAttribute(key,value)
		for child in children:
			self.appendChild(child)
History
Date User Action Args
2012-05-25 12:07:43avonosetrecipients: + avono, exarkun, BreamoreBoy, Alexandre.Zani
2012-05-25 12:07:43avonosetmessageid: <1337947663.63.0.426995182324.issue4849@psf.upfronthosting.co.za>
2012-05-25 12:07:43avonolinkissue4849 messages
2012-05-25 12:07:42avonocreate