If you're okay with using Smart GWT, it has inbuilt support for this. Have a look at this sample :
http://www.smartclient.com/smartgwt/showcase/#featured_xsd_ds Sanjiv On Sat, Sep 3, 2011 at 2:21 PM, Kyle Anderson <kyleanderso...@gmail.com>wrote: > I have an XML Schema defined in XSD format. Basically, there are a > whole lot of objects with attributes associated with them. The > attributes have various types (strings, enumerated types, integers). > The restrictions on these attributes are all defined in the XSD > format. I would like to create an "editor" in GWT which allows the > user to edit a file in XSD format. The editor should be able to > create a form using the XSD. For example, if there is an enumerated > type attribute, the editor should create a drop down menu. > > I experimented with JAXB to generate the java bean classes from the > XSD format. The problem with this is that you cannot do reflection in > GWT, so there's no great way to view the attributes of the class in > order to create the editor window. > > I imagine people have done similar things before. > > Thanks!! > Kyle > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to google-web-toolkit@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.