- From: Robert Koberg <rob@koberg.com>
- Date: Mon, 28 Mar 2005 17:23:43 -0800
- 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).
thanks,
-Rob
Received on Tuesday, 29 March 2005 01:23:47 UTC