[PHPTAL] XHTML without tal tags

2009-12-03 Thread hosemaria
Is there a method that throws pure XHTML without tal tags?
I mean when there is ex. template like this:
trth Name/thth City/th
tal:block id=items tal:repeat=item list
trtd class=name${item/name} /tdtd class=city${item/city} /=
td/tr
tal:block
after ex. function
$tpl-new_execute();
result is like this:
trth Name/thth City/th
trtd class=name /tdtd class=city /td/tr
If not exists is there a simple way to add it?
Greetings

___
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal


Re: [PHPTAL] XHTML without tal tags

2009-12-03 Thread Kornel LesiƄski

On 03-12-2009 at 15:18:56 hosema...@poczta.onet.pl wrote:


Is there a method that throws pure XHTML without tal tags?
I mean when there is ex. template like this:
trth Name/thth City/th
tal:block id=items tal:repeat=item list
trtd class=name${item/name} /tdtd class=city${item/city} /=
td/tr
tal:block
after ex. function
$tpl-new_execute();
result is like this:
trth Name/thth City/th
trtd class=name /tdtd class=city /td/tr
If not exists is there a simple way to add it?


What do you need this for? Why not simply execute the template?

--
regards, Kornel

___
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal