On 18-05-2009 at 09:23:24 Guillaume Lecanu <guilla...@lya.fr> wrote: >> A few more pointers: >> 1) it might be somewhat nicer to place phptal attributes in their own >> group: >> >> <!ENTITY % phptalattrs >> "tal:define %Text; #IMPLIED >> tal:condition %Text; #IMPLIED >> ... >> tal:block %Text; #IMPLIED" >> > >> ... >> <!ENTITY % attrs "%coreattrs; %i18n; %events; %phptalattrs;"> > > Fixed
Nice! > I have no knowledges in DTD specifications, how can we said the > <tal:block> is available anywhere in the code ? I'm afraid that DTD isn't able to express it (doesn't have what HTML5 calls transparent content model). In terms of DTD, <*:block> elements are closest to HTML's <ins> and <del> - they can be used in both block and inline context and need to be allowed to contain anything. >> 3) same for <metal:block> i guess? ;-) > > What is <metal:block> ? I don't see it in the manual... ? > > You would mean there is also <i18n:block> and <phptal:block> ? Yes. -- regards, Kornel _______________________________________________ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinfo/phptal