Autogeneration of web content benefits greatly from well defined input, including data types. MetWare uses XML Schema Data Types for this, as mentioned ealier when I briefly mentioned generation of search pages. That example showed the creation of range input on xsd:integer types. The below screenshot shows the different output for xsd:string (input text box) and xsd:boolean:
Now, this example is not really shocking, but MetWare defines additional types, for example an InChI data type:
<simpleType name="inchi">This allows me to tweak the HTML output created by the JSF pages to include microformats to support the Sechemtic userscript (see also doi:10.1186/1471-2105-8-487).
Or, to provide a drop down box, listing the allowed values: