diff -r fd138fc77510 -r 3a1b0afdaf84 xmlclass/xmlclass.py --- a/xmlclass/xmlclass.py Thu Aug 09 18:06:54 2007 +0200 +++ b/xmlclass/xmlclass.py Thu Aug 09 18:07:44 2007 +0200 @@ -239,7 +239,11 @@ if len(attr.childNodes) == 1: return attr.childNodes[0].data.encode() else: - return "" + text = "" + for node in attr.childNodes: + if node.nodeName != "#text": + text += node.data.encode() + return text """ Funtion that returns the Python type and default value for a given type