W3C home > Mailing lists > Public > www-html@w3.org > March 2005

Re: why, e.g., input/@checked="checked" ?

From: Robert Koberg <rob@koberg.com>
Date: Mon, 28 Mar 2005 17:23:43 -0800
Message-ID: <4248AE1F.6090103@koberg.com>
To: Andrew Clover <and-w3@doxdesk.com>
CC: www-html@w3.org

Andrew Clover wrote:

> Well that's a failing of the templating language rather than XHTML as 
> such. A templating language that aims at being helpful for XML should 
> provide a mechanism for inclusion/exclusion of an attribute.

I agree.

> For example in PXTL:
>   <input type="radio" checked="checked{?px_if isChecked?}"/>
> There are after all many other constructs in non-XML-native templating 
> languages like JSP that can result in source templates that are not 
> well-formed.

PXTL is really cool (from my brief reading) -- I had not heard of it 
before (I thought I looked around...). I just did an app in Velocity 
because I thought it was the most XML friendly. I wonder what else is 
out there (I will ask on xml-dev).

Received on Tuesday, 29 March 2005 01:23:47 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:10 UTC