If it matters, we (which most likely means, me) could rewrite the XSLT  
to not use the attribute-value-template syntax, and instead use the  
more verbose "<xsl:attribute>" syntax.  This would get rid of dollar  
signs in the XSLT.

--Paul

On Dec 1, 2008, at 5:47 AM, seletz wrote:

>
> Hi,
> using plone trunk and the chameleon buildout, I found that Plone
> breaks when trying to add a new ``Page`` because of KUPU.
>
> I found that rendering the ``drawer.xsl`` breaks using chameleon,
> because they clash with chameleon's $-interpolation (they **do**
> use TAL in other places in this file, so it needs to be rendered by
> chameleon)::
>
>    <xsl:template match="resource|collection" mode="image-view">
>       <xsl:variable name="p" select="preview"></xsl:variable>
>       <xsl:choose>
>          <xsl:when test="media='flash'">
>             <object src="{$p}" data="{$p}" type="application/x-
> shockwave-flash"
>                     width="100" height="100">
>                <param name="movie" value="{$p}" />
>             </object>
>          </xsl:when>
>
> I talked to malthe, and I'd like to implement a ``verbatim`` option,
> used like this::
>
>    <xsl:template match="resource|collection" mode="image-view"
> tal:verbatim="">
>       <xsl:variable name="p" select="preview"></xsl:variable>
>       <xsl:choose>
>          <xsl:when test="media='flash'">
>             <object src="{$p}" data="{$p}" type="application/x-
> shockwave-flash"
>                     width="100" height="100">
>                <param name="movie" value="{$p}" />
>             </object>
>          </xsl:when>
>
> This would cause chameleon to output that node and it's children
> verbatim, not interpreting them.
>
> Any thoughts?
>
> Stefan.
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"z3c.pt" group.
To post to this group, send email to z3c_pt@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/z3c_pt?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to