On 16-10-2009 at 01:08:21 Wallace McGee <wall...@petrosys.com.au> wrote:
Just letting you know that now you are not allowed to have blank template files. I had used one on a page that generated some plain text output that did not need to process a phptal template so I used a blank.xhtml file so nothing was added to the output. PHPTAL 1.2.0 does not like this:
Indeed. XML forbids files without root (any) element.
So now a I simply exit; once I have outputted the text data I want.
Perhaps don't execute template then at all? if (!$data_outputted_already) { echo $phptal->execute(); } -- regards, Kornel _______________________________________________ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinfo/phptal