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

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).

thanks,
-Rob

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