Enabling DOCTYPE in WAMs

Date: 22 October 2010
Product/Release: LANSA for the Web (WAMs) V12
Abstract: DOCTYPE can be added to WAMs in V12
Submitted By: LANSA Technical Support

If you have the latest EPCs applied to V12, there is an enhancement to allow a DOCTYPE (DTD declarations) to be added into the layout Weblet for WAMs (see the code outlined in red):

Example of DTD in layout Weblet code

This will result in the DOCTYPE declaration:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

To review other possible DOCTYPE declarations and explanations, go to this link: