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 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 T_STRING in 
>> /tmp/tpl_4abc0c0d_szablon__U5CE19YacxN2YAA1ltr9vg.php on line 7
>
> Where 7th line is of course:
>> <?xml-stylesheet type="text/css" href="/css" ?>
>
> Can I somehow use <?xml-stylesheet with PHPTAL?
>
> --
> Rafał
>
> _______________________________________________
> PHPTAL mailing list
> PHPTAL@lists.motion-twin.com
> http://lists.motion-twin.com/mailman/listinfo/phptal
>



-- 
Marco Pivetta - Ocramius Aethril
Standard Ogame Project - StOgame
http://www.stogame.net
Making Ogame a better place...

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

Reply via email to