cocoon-users mailing list archives

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

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>

Thanks for your help.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message