First, to the poster, please take a look at
http://geekswithblogs.net/workdog/archive/2007/02/08/105858.aspx and see
if this helps.

This thread actually brings up a point I thought I understood, but I am
no longer sure. 
If I create an XSLT stylesheet to transfrom XML and want to use Xalan-C,
would another developer coding in Java using Xalan-J have to create a
different stylesheet even if we are both acting on the same data and
want the same transformed output?  I thought that XSLT was language
independent.  

Thank you


-----Original Message-----
From: Sathasivam, Elayaraja [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 05, 2008 11:27 PM
To: xalan-c-users@xml.apache.org
Subject: RE: Xalan-C / XSL 1.0 : Curent date


Any XSL example without using ICU  ?

_________________________________________________________________

-----Original Message-----
From: David Bertoni [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 29, 2008 7:57 PM
To: xalan-c-users@xml.apache.org
Subject: Re: Xalan-C / XSL 1.0 : Curent date

Sathasivam, Elayaraja wrote:
> I would like to print the current date with the format ('E yyyy MM dd 
> hh:mm:ss' ) by using xsl 1.0. I am new to Xalan-C. I have worked only 
> with Xalan-J.
> 
> Any thing similar as below in Xalan-C ????????
No, Xalan-C has no facility for date formatting.  You will need to
format the date, then pass it into the stylesheet as a parameter.  Or,
you can write an extension function that you can call in your
stylesheet.

The ICU (International Components for Unicode) has support for date
formatting which is like the Java functionality you're using in Xalan-J.

Dave

Reply via email to