RE: Return system's date and time
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 126.96.36.199. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: J. S. Rawat [mailto:jrawat@xxxxxxxxxxxxxx] > Sent: 14 May 2007 11:10 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: Re: 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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format