arskom/spyne — pull request #161 by ugurcan377 (2012-07-20 12:12:07+00:00)
Title: XML Primitive Attribute Support

As far as i understand Spyne does not support adding attributes to primitive types.
For providing that support i created an class attribute for XmlAttribute complex type.
Then i found out types that user creates processed into xml in protocol/xml/model and in its xmlattribute section there is function call refers to attributes parent. İt only took change it to the object element which attribute_of is referring. Not the object itself the object's xml element which is created in complex_to_parent_element