On Tuesday 17 September 2002 19:25, Mathias Ochsendorf wrote:
> hi together,
>
> I'm looking for a way to substitute/translate
> the following statement with i18n-transformations:
>
> <a href="/test">
> <img src="/images/test.svg?label_text={0}&label_color={1}"/>
> </a>
>
> to:
> <a href="/test">
> <img src="/images/test.svg?label_text=hello&label_color=red"/>
> </a>
Try this way:
<a href="/test">
<img>
<xsl:attribute name="src">
<i18n:translate>
<i18n:text>/images/test.svg?label_text={0}&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>
I'm not exactly understand why you need it, but hope it solves you problem.
Regards!
Ivan Luzyanin.
---------------------------------------------------------------------
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]>