[Zope] Embedding absolute_url in TAL Syntax

Florent Guillaume fg@nuxeo.com
Thu, 6 Jun 2002 21:29:14 +0000 (UTC)


Dan Shafer  <pydan@danshafer.com> wrote:
> It *seemed* like I should be able to code:
>
> <td><a
> href="tal:content='item/absolute_url'"><tal:content="item/title"></a></td>
>
> But that creates a compilation error in the TAL HTML Parser.

That's because <tal:content="item/title"> is not valid XML.
What would be correct is <tal:content="item/title" />.

But Mike's solution is better.

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg@nuxeo.com