Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

from xsd to java classes and to html forms

843834Nov 21 2007
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....
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 19 2007
Added on Nov 21 2007
0 comments
223 views