Re: Error Accessing The Date Module
Jeni Tennison <[email protected]>
| Newsgroups | gmane.text.xml.xslt.extensions |
|---|---|
| Organization | Jeni Tennison Consulting Ltd |
| Message-ID | <[email protected]> |
Hi Conrad,
> Hi, I have installed the lastest version of Xerces-J 2.6.2 and
> Xalan-J 2.6.0 and I still cannot get the date module to work. Also,
> I'm using Windows 2000 Professional Service Pack 4.
Xalan supports date:date-time() natively, so you don't need to import
date.xsl.
What's probably happening is that you're using the version of Xalan
that comes with Java. This is a very early version of Xalan that
doesn't support EXSLT. Make sure that Xalan 2.6.0 is used instead,
using a command line like (newlines added for clarity):
java
"-Xbootclasspath/p:C:\Program Files\xalan-j_2_6_0\bin\xalan.jar;
C:\Program Files\xalan-j_2_6_0\bin\xml-apis.jar;
C:\Program Files\xalan-j_2_6_0\bin\xercesImpl.jar"
org.apache.xalan.xslt.Process ...
After removing the import, your stylesheet works with Xalan 2.5.1 fine
(and I have no reason to think it won't work with Xalan 2.6.0).
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/