[osflash] XMLSchema -> ActionScript

David Holroyd osflash at badgers-in-foil.co.uk
Mon Sep 25 07:34:25 EDT 2006


On Thu, Sep 21, 2006 at 09:38:55AM +0000, David Holroyd wrote:
> Has anyone done work on generating AS classes from a schema, or seen
> such a tool?
> 
> I'm thinking of trying to build something do do this if nothing exists.

Attached is the code I hacked together.  Notes:

 - Horrible code!  :)
 - Creates classes for named top-level complex types *only*
 - Depends on unreleased version of metaas[1], so you'll need to furtle
   in SVN to actually use the attached!
 - Depends on the Eclipse XSD infoset model, as noted at the top of the
   attached file.

Is anyone interested in turning this into a proper project?


ta,
dave

[1] http://www.badgers-in-foil.co.uk/projects/metaas/

-- 
http://david.holroyd.me.uk/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Main.java
Type: text/x-java
Size: 22354 bytes
Desc: not available
Url : http://osflash.org/pipermail/osflash_osflash.org/attachments/20060925/ec423e31/Main.bin


More information about the osflash mailing list