Page 1 of 1
Convert XSD to VB .Net Classes Automatically
Posted: Wed Oct 18, 2006 6:18 pm
I would like <oxygen/> to convert my XSD directly into VB .Net Classes with the ability to serialize XML data file into and out of classes.
Posted: Tue Oct 31, 2006 4:28 pm
I added your request in our database but it will not be implemented in the short term (the next 6 months). There are related features in the survey
available from the right side of the home page (What feature would you need the most in the next version ?) like "Generate code from XML Schema to C#" but not for generating VB.NET code.
Posted: Wed Apr 18, 2007 5:37 am
However, this whole code-generation is a two fold thing. Usually one might say: Hey, this is what XSLT is for. You take any XML file and write an XSLT to transform it into anything you want.
For example, I just took the XML export of SQL Designer
and wrote a little XSLT to convert it to Django models. Well, at least it was a first try, it still is far from perfect, since the database-models do not match, really.
Maybe there could be a community effort to share XSLT scenarios ? They could be published either here, in the forum in a special board, or somewhere else.
Posted: Wed Apr 18, 2007 3:08 pm
I have added in the features survey
Posted: Fri Apr 20, 2007 12:16 am
Thank you very much.
Posted: Fri Apr 20, 2007 7:17 pm
One thing you may want to here for this type of feature, is allow for a configuration option to specify the XSD Data Binding framework to use. This way, a person could specify either XSD.exe or XSDObjectGen to generate the classes, as well as allowing for the various java binding frameworks to be used as well.