XSD to HTML Form generator??


XML & Web services: XSD to HTML Form generator??

  1. XSD to HTML Form generator?? (1 messages)

    Hi, I’ve been tasked with building a web-based interactive SDK to speed up client-side development for our RESPful Web Service APIs.  Part of the solution requires an engine that can read an XSD and dynamically generate an editable html form.  The idea is to have the user populate the online form to generate a valid XML document.  I’m hoping to find a product or library that will help get us there as opposed to building this from scratch.  We are looking to integrate this in a tomcat/jsp/java environment.  Here are some of the requirements:

    (1)    Support XSD include & group elements (100+ services are in 2 XSD files bound by include)

    (2)    Allow selection (via configuration) of an element node to generate form (subset of XSD)

    (3)    Form should allow data entry of Elements and Attributes

    (4)    Support 0 to unbound occurrences of any type in Form (add/delete/collapse)

    (5)    Form widgets:

    1. Radio buttons for Choice
    2. Checkboxs  for Boolean
    3. DropDown Lists for Enumerations
    4. Datepickers for Dates

    (6)    Allow for adding default data on the Form

    (7)    XSD validation should be integrated in the Form highlighting fields in error

    (8)    Open-source and extendable


    *Constraint:  I’m building a layer on top of existing services and I don’t have access to modify the XSDs.

    I’ve looked at xsd-forms (code.google.com/p/xsd-forms) and it looks promising but it’s in pre-alpha status.  Also looking at XSDForm (www.ilerian.com/xsd-web-form-overview) but it may be difficult to integrate with our technology stack and does only part of what we need (but still looking at it). Any ideas or recommendations?

    Threaded Messages (1)

  2. xsd-forms now at alpha[ Go to top ]

    Have done a rewrite of xsd-forms and now at alpha on github: http://github.com/davidmoten/xsd-forms. Lots of doco and keen for feedback.