[Grok-dev] XML output using a page template?

Christian Klinger cklinger at novareto.de
Wed Feb 16 07:17:55 EST 2011


Hi Sascha,

maybe it's because you don't closed your function tag?

Christian

> Now I am getting a "XML declaration not well-formed" error.
>
> Is that correct?
>
> <?xml version="1.0" encoding="utf-8" xmlns:tal="http://namespaces.zope.org/tal" ?>
> <function tal:repeat="f python: context.functions" tal:attributes="name f"><span tal:replace="f"/>
> </tal:rep>
>
>
>
> -------- Original-Nachricht --------
>> Datum: Wed, 16 Feb 2011 12:42:31 +0100
>> Von: Christian Klinger<cklinger at novareto.de>
>> An: grok-dev at zope.org
>> Betreff: Re: [Grok-dev] XML output using a page template?
>
>> Hi Sascha,
>>
>> you have to define the tal namespace in your template.
>>
>>
>> xmlns:tal="http://namespaces.zope.org/tal
>>
>> Hope this helps..
>




More information about the Grok-dev mailing list