> <a href="/test">
>    <img>
>       <xsl:attribute name="src">
>               <i18n:translate>
>                       
><i18n:text>/images/test.svg?label_text={0}&amp;label_color={1}</i18n:text>
>                       <i18n:param><i18n:text>hello</i18n:text></i18n:param>
>                       <i18n:param><i18n:text>red</i18n:text></i18n:param>
>               </i18n:translate>
>       </xsl:attribute>
>    </img>
> </a>

unfortunately this approach doesn't work. it causes a
nullpointerexception:

Original exception :
org.apache.avalon.excalibur.xml.xslt.XSLTProcessorException: Exception in
creating Transform Handler
at
org.apache.avalon.excalibur.xml.xslt.XSLTProcessorImpl.getTransformerHandlerAndValidity(XSLTProcessorImpl.java:287)
at
org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:333)

...



Best,
-- 
Mathias


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to