[
Lists Home |
Date Index |
Thread Index
]
On Mon, 11 Feb 2002, james anderson wrote:
I have not been aware of TAL till this moment.
The history of Templatotron is very simple:
A week ago I was thinking about some way how to make my XSLT prototyping
as fast as possible and compatible with my way of thinking.
I did a few experiments and found that implementation was very easy.
I did not research any similar approaches and so I cannot argue for their
pluses and minuses.
I guess that as an advantage can be considered the fact that you can
compile a Templatotron template with any XSLT processor and you can then
use the generated stylesheet with any XSLT enabled program including
browsers.
And of course, I consider Templatotron very natural and simple to learn
and after scanning TAL spec I am still not too sure how TAL is to
be used and so I can argue that TAL is rather over-complex. :))
>
> This looks similar to TAL in the the zope page template system.
> One difference is the approach to namespaces.
> In the TAL case, a transformation is triggered simply by the presence of
> an attribute from the distinguished space. In the Templatotron case,
> it's the presence of such an element identifier.
>
> What was the thinking behind this decision? From reading the tutorial,
> it was not clear that this latter mechanism affords any advantage to
> counterbalance the added complexity.
>
> Miloslav Nic wrote:
> >
> > Templatotron is a simple language for template based XML processing. It
> > can be also thought of as a language designed to save some writing in
> > XSLT stylesheets and for keeping your attention focused on the XML syntax
> > not on the XSLT one. I do not personally mind the rather verbose XSLT
> > syntax and so in my eyes the second point is much more important but there
> > are others who may appreciate Templatotron terseness.
> >
> > ....
>
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
>
> The list archives are at http://lists.xml.org/archives/xml-dev/
>
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
>
--
******************************************
<firstName> Miloslav </firstName>
<surname> Nic </surname>
<mail> nicmila@systinet.com </mail>
<support> http://www.zvon.org </support>
|