From: Brandon Pedersen <bped...@gmail.com>

> Got that version and it does add the type attribute...but if you
> do not specifically set it on the object then it will not display
> it on the exported XML...to do a quick fix I just added a line or
> 2 in the generated code code such that it looks like this on the 
> base type:

> if self.type_ is not None:
>      ...then it exports the type info
> #added
> else: 
>     ....write out self.__class__.__name__

Thanks for this fix.  I'll look into when I'm back home from this
trip and will work it into the code.


> Thanks for your help!

You are welcome and thank you for helping with this.

- Dave

-- 

Dave Kuhlman
http://www.rexx.com/~dkuhlman

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
generateds-users mailing list
generateds-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/generateds-users

Reply via email to