Re: [PHPTAL] Regression in PHPTAL 1.2.0 in XML support

2009-09-25 Thread Marco Pivetta
You probably enabled php short tags, so version=1.0 encoding=utf-8 is parsed as PHP code... Try disabling them... Otherwise, try using a tal:content=structure mystring at the beginning of your file :-) 2009/9/25 Rafał Miłecki zaj...@gmail.com: I was using following XHTML code: ?xml

Re: [PHPTAL] doctype and ${lang} variable

2009-09-25 Thread Kornel Lesiński
On 24.09.2009, at 18:33, hosema...@poczta.onet.pl wrote: How to change language in doctype? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd When I use variable ${lang} from phptal !DOCTYPE html PUBLIC -//W3C//DTD XHTML

Re: [PHPTAL] Regression in PHPTAL 1.2.0 in XML support

2009-09-25 Thread Kornel Lesiński
On 25.09.2009, at 01:19, Rafał Miłecki wrote: I was using following XHTML code: ?xml version=1.0 encoding=utf-8? ?xml-stylesheet type=text/css href=/css ? html xmlns=http://www.w3.org/1999/xhtml; xml:lang=pl but when updated to PHPTAL 1.2.0 I got: Parse error: syntax error, unexpected