On Wednesday, Jul 9, 2003, at 08:36 Europe/London, Jörg Walter wrote:

I think we should take a leaf out of XSLT's book and allow
interpolation in attributes, so that this would work:

     if (my $n = $page->previous_page) {
         <pagenav previous="1" page="{$n}">&lt;&lt;</pagenav>
     }

Should be fairly simple to do. Thoughts?

Yes please! I've been longing for that for quite some time now. So we scrap
that Cocoon compatibility now? Fine by me... :-)
Attribute value templates will be made exactly as in XSLT, I assume?
(regarding quoting of {}'s, multiple {...}'s in one attribute and the like)

Yes, using the exact same rules as XSLT would be good here (although I hear the spec isn't entirely clear in this section).


We should probably communicate this issue to the Cocoon folks though.

Matt.



Reply via email to