from xsd to java classes and to html forms
Hello
I want to create an application or a jsp page that takes as input any given .xsd document and export code that creates the forms of a web page and includes javascript form checking.
I 've searched and read some stuff but i got bit confused...
My first worry is to make the corresponding classes and objects from the xsd types and elements.
Should I use jdom or is there a better library for schemas?I don't need the validating,but i need easy java implementation for the types and elements of xsd.Altova XMLSpy can generate the java code i need,cause it recognizes the xsd types, but it is an application and i need a library to put into my project.There is a free library, AltovaXML , but I am not so sure it is better than jdom for me.Has anyone used it?
To be confused even more I read about xslt and xforms.Would it be easier to produce xforms and then the html forms?
As i said i dont want to make a complete web page, just a part of it.Do I need the xsl transformations?
Hope this isn't confusing and hope I 've written it in the right subforum....