I am working on a system that should present an html form with typical elements such as a text box, select box, shortcuts, etc., but it can only speak JSON or XML, not HTML.
I could always write my own JSON or XML converter and parser to represent the form in the required format, but I would like to adhere to a certain standard, if one exists, for change management and extensibility. In addition, the standard must have an existing Javascript parser.
I watched XUL , but it does not seem to have form tags and looks like DSL, suitable only for Mozilla-based applications, Also I could not find a Javascript parser for the same.
I believe that this should be a fairly common problem that someone has solved, but I can not find it. Any pointers would be much appreciated.
source
share