[aida] XHTML support in Aida 6.0

Janko Mivšek janko.mivsek at eranova.si
Tue Jan 20 21:25:31 CET 2009

Dear all,

I just added the XHTML support to Aida and now the website in new design 
http://aida.eranova.si:8000/, which is done in XHTML 1.0 Transitional, 
pass the HTML validation 100%.

Default webpage doctype is HTML 4.01 Transitional, but you can set in 
your App the doctypes with following methods:

     * setHTML401Strict
     * setHTML401Transitional
     * setXHTML10Strict
     * setXHTML10Transitional

You can even mix doctypes in your app, every view can have its own doctype.

In case of XHTML doctype, the HTML code will be generated properly, with 
self closing tags ( /> ) where appropriate (like in page breaks: <br/> )

There is also a method WebElement>>isXHTML to check, when you are 
composing the XHTML page and when a HTML one.

Best regards

Janko Mivšek
Smalltalk Web Application Server

More information about the Aida mailing list