cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier Bleses" <oble...@ctp.com>
Subject i18n:date formatting in an attribute
Date Tue, 28 Jun 2005 13:47:08 GMT
Hello,

I would like to format a date into an attribute using i18n transformer.
Is it possible ?

I tried something like this but it doesn't work :
---------------------------------------------
<date i18n:attr="dateadoption">
  <xsl:attribute name="dateadoption">
    <i18n:date pattern="dd MMMM yyyy" src-pattern="yyyy-MM-dd">
      <xsl:attribute name="value"><xsl:value-of select="date-adoption"/></xsl:attribute>
    </i18n:date>
  </xsl:attribute>
</date>
---------------------------------------------

Thanks for your help.
Olivier

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message