Web Development

General discussion


Automating input form generation

By RCPeate ·
I am currently trying to develop (in a very short space of time) a way of dynamically building up a user interface from within a servlet.

This user interface is needed to allow a user to input the required details to then construct an XML instance of the information gathered.

I have been looking at some of the parsers available but these do not seem to support the direct parsing of XSD files, this leaves me somewhat at a loss as to where to go from here??

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

Automating input form generation

by Jay Eckles In reply to Automating input form gen ...

I'm not sure what an XSD file is, maybe you meant XSL? In any case, you should take a look at some of the JAXP XML parsers - they are beginning to provide very thorough support for XML. Xerces is one I hear mentioned a lot, but there are several others. I doubt there's much you could need to do with XML that someone hasn't already done in Java.

Also, you might want to look into the Stuts framework at Apache. It's a means of separating user interface from content and might be a means of achieving the goal you seem to be after.

I wish I could help you more, but my experience with Java XML parsers has been in lightweight and special-purpose parsers, like XParse-J and other "mini" parsers.

Good luck.


Related Discussions

Related Forums