xsl-list
[Top] [All Lists]

RE: [xsl] Return system's date and time

2007-05-14 03:28:27
Abel was incorrect. Whether or not you can use an XPath 2.0 function depends
on the version of the Saxon software that you have installed, not on the
version attribute in your stylesheet. You are referencing "saxon.jar" which
is Saxon 6.x, which only supports XSLT 1.0 and XPath 1.0. You need to
download a more recent Saxon version: the latest is Saxon 8.9.0.3.

Michael Kay
http://www.saxonica.com/
 

-----Original Message-----
From: J. S. Rawat [mailto:jrawat(_at_)aptaracorp(_dot_)com] 
Sent: 14 May 2007 11:10
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Return system's date and time



Oops! Thanks, you are right. I have to update my stylesheets 
(but, now 
that I look at them, I see I declared it, but never used it).
I have declared it correctly and changed the verson of the 
stylesheet to "2.0" but still get the error

Command line is: java -jar saxon.jar a.xml x.xsl >c.xml 
Error:The URI http://www.w3.org/2005/xpath-functions does not 
identify an external Java class



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--