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 -- Janko Mivšek AIDA/Web Smalltalk Web Application Server http://www.aidaweb.si _______________________________________________ Aida mailing list [hidden email] http://lists.aidaweb.si/mailman/listinfo/aida |
On Tue, 20 Jan 2009 21:25:31 +0100
Janko Mivšek <[hidden email]> wrote: > 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%. Very good and very important for interfacing to post-processing tools. Thanks, Janko. s. _______________________________________________ Aida mailing list [hidden email] http://lists.aidaweb.si/mailman/listinfo/aida |
In reply to this post by Janko Mivšek
Hi Janko,
I don't have time to look at the code right now, but how do elements render HTML 4 or XHTML? Is there an external XHTMLELements package or something? Cheers! Nico Le mardi 20 janvier 2009 à 21:25 +0100, Janko Mivšek a écrit : > 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 > _______________________________________________ Aida mailing list [hidden email] http://lists.aidaweb.si/mailman/listinfo/aida signature.asc (204 bytes) Download Attachment |
nico pravi:
> I don't have time to look at the code right now, but how do elements > render HTML 4 or XHTML? Is there an external XHTMLELements package or > something? No, you just set a page to be XHTML and all elements will know how to render correctly for XHTML. Which means mostly to close the standalone tags like IMG and BR with /> instead of > . Look at method #tagClosing to see, how is this implemented in practice. Janko > Le mardi 20 janvier 2009 à 21:25 +0100, Janko Mivšek a écrit : >> 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 >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Aida mailing list >> [hidden email] >> http://lists.aidaweb.si/mailman/listinfo/aida -- Janko Mivšek Svetovalec za informatiko Eranova d.o.o. Ljubljana, Slovenija www.eranova.si tel: 01 514 22 55 faks: 01 514 22 56 gsm: 031 674 565 _______________________________________________ Aida mailing list [hidden email] http://lists.aidaweb.si/mailman/listinfo/aida |
Free forum by Nabble | Edit this page |