From: "Bertrand Delacretaz" <[EMAIL PROTECTED]>
Date: Wed, 21 Mar 2007 13:30:14 +0100
On 3/21/07, Stefan Shoeman <[EMAIL PROTECTED]> wrote:
...I tried it with xsl (xs:date-time), but then I get a error, that the
java-date class isn't available for Coocon...
You could use a the SimpleDateFormat as a java extension, example:
<xsl:transform
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
xmlns:dateFormat="java:java.text.SimpleDateFormat"
>
I may be wrong, but don't you also have to define a 'java" namespace prefix
for this to work? The example at
http://xml.apache.org/xalan-j/extensions.html#ex-java-namespace uses
xmlns:java="http://xml.apache.org/xalan/java"
Andrew.
--
http://pseudoq.sourceforge.net/ Open source java Sudoku designer & solver
_________________________________________________________________
Solve the Conspiracy and win fantastic prizes.
http://www.theconspiracygame.co.uk/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]