No Clean Feed - Stop Internet Censorship in Australia
«
»

AS3, Flash, xml

marshalling as3 from xsd, continued

04.28.08 | 4 Comments

I have been thinking some more following my earlier post about how good it would be to have a system for creating ActionScript classes from XML Schema, for binding XML data to code.

I thought it might be a good idea to set something of this nature up as web service, or a web application, using Google AppEngine. I found a Python system called generateDS that does pretty much exactly what I want, except it produces Python classes instead of AS3 ones. I got in touch with Dave Kuhlman, the author of generateDS; he pointed out that the system was written specifically for generation of Python code, not for producing other code in other languages. It should be refittable for AS3 but it would take quite a bit of deep hacking.

Another possibility would be to work from the XMLBeans codebase; but this is Java, and that would exclude the possibility of working with AppEngine.

I would just code it up in AS3 – possibly as an AIR app – but I hesitate to do so, because ideally this kind of tool should have a CLI, so that it can be used in build scripts.

Maybe I should write my own from scratch in Python or Ruby.

Hmm…

related

4 Comments

have your say

Add your comment below, or trackback from your own site. Subscribe to these comments.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

:

:


«
»
Close
E-mail It