hi,
how can I set/change the date format which is used for java Date attributes
at marshalling an java object to XML ?
I have the mapping
<field name="actualTime" type="java.util.Date"> <bind-xml name="actualTime" node="element"/> </field>
and get <actualTime>2003-06-12T17:18:46.984</actualTime>
How can I set a different date format ?
Here is how to format a date if you're using exslt (http://www.exslt.org/): <xsl:call-template name="datetime:format-date"> <xsl:with-param name="date-time" select="mydate" /> <xsl:with-param name="pattern" select="'dd.MM.yyyy HH:mm'" /> </xsl:call-template>
Stein
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
