Re: CDATA section in zpt
Chris Withers <[email protected]> Mon, 28 Nov 2005 10:27:32 +0000
| Newsgroups | gmane.comp.web.zope.page-templates |
|---|---|
| Message-ID | <[email protected]> |
Dieter Maurer wrote:
> Chris Withers wrote at 2005-11-25 12:48 +0000:
>
>>The TAL interpretter parses the source of hte ZPT as XML, and so doesn't
>> do anything with CDATA sections.
>
> But XML knows about "CDATA" sections and an XML compatible parser
> should handle them correctly.
Yes, it treats them "correctly" as CDATA and doesn't look for any tags,
including tal: inside them...
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk