This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
java methods vs XSL templates
- From: "Laura Jenkins" <xsl_list at hotmail dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Fri, 10 May 2002 15:17:18 +0000
- Subject: [xsl] java methods vs XSL templates
- Reply-to: xsl-list at lists dot mulberrytech dot com
Dear all,
I have requirement for functionalities like date format conversion
ie from YYYYMMDD to DD:MM:YY..
now i can write a java method that does this or i can write a xsl template
that will do this.I can then store it in an utility XSL file and keep
calling that template through xsl:call-templates , and pass the date as
parameter and store the return value in a variable.
i however think that writing a java method is a more elegant way of doing
this ,as java code is precomplied and would take less processing time.
please advice me in this regard.. which one would be better to do.
thanks a lot
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list