I'm looking for a tool that works pretty much exactly like template
toolkit, but is implemented in javascript so the transform occurs on the
client's machine. it may work this way: a javascript hash (just like
the perl hash) is given to the template object along with a string
containing template code (or perhaps an id referring to the element
containing the template code). the template object then does the
transform and returns that processed block (and puts it in another
block... the same block whatever.... you get the idea)
- i'm going out on a limb here, but, do you think it would be
reasonable to implement the TT parsing engine in javascript? since the
answer is obviously no, it's unreasonable, does anybody know of anything
akin to this?
(and i don't want to hear anything about xsl - xsl is a decent
templating language for xml, NOT html and it doesn't work - i want a
friendly syntax like this.)
_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates