File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes how to generate GUI from an xml-DTD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to generate GUI from an xml-DTD" Watch "how to generate GUI from an xml-DTD" New topic

how to generate GUI from an xml-DTD

dan nwankwo

Joined: May 23, 2001
Posts: 8
does anyone have any ideas how i can generate a user interface form based on the information in an xml-DTD. The aim of my project is to write a software that will be used to capture data which will be used to write an xml document. for example you have a screen with fields, you enter data into the fields, press a button and the data is exported as an xml document with appropriate tags surrounding the entered data. this xml document is then stored as a text file on the system. my problem is that i need the software to handle any xml structure therefore the interface form needs to change depending on the xml-dtd. Are there any examples where this has been done and what tools can i use. it has been suggested to me that DTD's do not have enough information to create forms, however i would like further input. do you know any sources of inspiration on this kind of work.
I agree. Here's the link:
subject: how to generate GUI from an xml-DTD
It's not a secret anymore!