cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <>
Subject Re: XSLT is Dead ?!
Date Fri, 01 May 2009 11:52:15 GMT
You get very similar functionality for date/time in flowscript;
also it seems that XSLT 2.0 can do this via fn:current-dateTime()
(Disclaimer:  I have not used 2.0 - but others in this thread have;
maybe they can respond here?)

>>> On 2009/05/01 at 07:49, in message <>,
Ken Starks <> wrote:
oddly enough, the first example of embedded XSP in the Moczar and Aston 
book is to find the time
with a tiny bit of embedded java.

Date now = new Date();

By the way, today's date is <xsp:expr>now,/xsp;exp>


Derek Hohls wrote:
> Out of interest... which part of Cocoon lacks "date/time awareness" -
> the sitemap?  Can't a (custom-written) java module execute/call an
> external program?  Also not sure about "directory listing" - does the
> Directory Generator not serve in that role?
>>>> On 2009/04/30 at 02:48, in message <>, Peter Flynn
<> wrote:
> Stephen Winnall wrote:
> [...]
> I've been using Cocoon almost since the start, and although there are 
> bits I haven't grokked yet, I find it one of the most productive tools 
> around. There are aspects of its design I disagree with (the removal of 
> DTD-detected pipelines from v1.*, the lack of interface to the system 
> like directory listing or date/time awareness, and the inability to 
> execute an external program even when the program generates XML, unless 
> you fake it via a web script), but it's flexible enough to work around 
> most of these.
> Reports of XSLT's demise are much exaggerated :-)
> ///Peter

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

This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice,
and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their support.

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

View raw message