This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Swing / AWT / SWT and the fly likes User Interface for taking input based on XSD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "User Interface for taking input based on XSD" Watch "User Interface for taking input based on XSD" New topic
Author

User Interface for taking input based on XSD

ramesh agarwal
Greenhorn

Joined: Jun 10, 2008
Posts: 19
I have an XSD file with some complex types inside it; meaning all the xml nodes do not take the same structure; some have choice; and based on the choice made there are some additional properties etc.

How do I build a user interface for it? My dream UI would be a jtable, and based on the value provided in the first cell, the second cell gets popluated with the possible structure etc. I want to provide a simple UI and construct the corresponding XML internally.

Do I have to write the UI from the scratch, or is there any binding that can be achieved from XSD to generatoin of the UI?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: User Interface for taking input based on XSD