Hi, I generate XHTML/JSP/Velocity pages from XSL and XML. One thing always seems clumsy to me: that is, why was something like an INPUT's checked attribute be set to "checked" and not true/false? A source XML that will be generated to a Velocity template, for example, would need to look like the following to maintain well-formedness: #set ($isChecked = $page.getBoolean("isChecked")) #if ($isChecked) <input type="checkbox" value="true" name="something" checked="checked"/> #else <input type="checkbox" value="true" name="something"/> #end rather than using true/false on the checked attribute, for example: <input type="checkbox" value="true" name="something" checked="${isChecked}"/> Don't suppose there is any chance to change this? :) best, -RobReceived on Saturday, 26 March 2005 14:13:52 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 July 2008 07:54:30 GMT