JDom and/or java XML

C

Colin Goudie

Hey,

I was wondering if it is possible to use JDOM or similar to parse an XSD
file to retreive the enumerations for any attributes?

Basically I'm making an application that stores data in xml. I have an xsd
file that contains some default values and enumerations for attributes. I'd
like to be able to automatically add the default values in to a form and
also the enumerations into a combobox. Then when the user selects the to
save the data it is stored into the xml file with correct values.

The other option is to hardcode the values in the application to match whats
in the xsd file but there has to be a better way!

Thanks for any help
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,565
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top