I’m developing an application with Java (JSP and/or servlet)
I must generate an HTML form from a XML-Schema and use a given XSLT to
show it with a certain layout.
[B]So, in short:
Input: pippo.xsd and pippol.xsl
Output: pippo.html (or anything that could be seen on a browser as a
normal HTML form).[/B]
Obviously I must add javascript field type control to validate the
form on the give XSD, before sending it… but it’s another story.
I need all help that you can do, suggestions, tips. I’m a sort of
newbie with JSP and this kind of problem.
[I]Note: Someone told me that I must validate both given files, but how
can I validate a XSD and/or a XSL, without a given XML file? I’m using
Xerces-J
But I hope that there’s an expert that could help me to take the right way to solve my problem…
I need the idea of the general structure, I’m just a newbie of JSP/servlets.
I had 2 inputs: XSD and XSL
and 2 outputs: XML file and HTML form
I need to know how to structure the code to avoid a mess…
I’m using xerces and xalan… but I’m just a newbie with JSP and I’m not sure about the correct way to solve the problem for a webapp…
I can use only JSP? I must use a servlet? both?
If it can be solved only by JSP, could I use recursion with it?
…
hi dakkar,
I know it has been a long time. But this sounds interesting.
Did u able to implement this functionality, if yes can you provide the details here?
ok, so this thread is like really really old! also, maybe try Google? Search for XML XSLT HTML tutorial or something like that. There are plenty of online tutorials explaining how to do this. If it’s very important to you then do a bit of reading on the topic and you’ll see it’s not too hard.