The translation to WML (continued)
Table elements are not usually used in WML, but they are handy when displaying HTML. The special attribute keep tells whether the stylesheet has to keep the table in the output page or not
<form action=“login.xml”>
<tr><td>Name:</td><td><textfield name=“name”/></td></tr>
<tr><td>Password:</td><td><textfield name=“pwd”></td></tr>
<input type=“submit” name=“Login” value=“login”/>
Notes:
In this particular example we assume we want to display a login page. We want to use a table to properly align the labels and the text entry fields for the HTML version. However we don’t want to have the table in the WML version. The solution to this is to use the keep attribute to instruct the XSLT stylesheet to remove the table tags.