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
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