Look inside the file you are running which is xep.bat.
You will find the classpath which likely includes Saxon 6 which is not an XSL
2.0 processor.
You need to change this to use whatever XSLT 2.0 processor you are using.
Kevin Brown
RenderX
From: Rahul Singh rahulsinghindia15@xxxxxxxxx
[mailto:xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx]
Sent: Tuesday, November 06, 2018 4:58 AM
To: XSL-List: The Open Forum on XSL <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>;
xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RenderX XEP current date error
Hi,
I have installed RenderX XEP and written XSL in 2.0 and trying to generate PDF
but getting error for current-date while same i have execute in Altova and
that is working fine:
C:\Program Files\RenderX\XEP>xep -xml Source.xml -xsl Source.xsl
(document [system-id Source.xml]
[error] Error in expression
substring-before(substring-after(string(current-date()),'-'),'-'): Unknown
system function: current-date; SystemID: Source.xsl; Line#: 78; Column#: -1
[error] javax.xml.transform.TransformerException: Error in expression
substring-before(substring-after(string(current-date()),'-'),'-'): Unknown
system function: current-date
error: formatting failed: javax.xml.transform.TransformerException: Error in
expression substring-before(substring-after(string(current-date()),'-'),'-'):
Unknown system function: current-date
Thanks,
Rahul
XSL-List info and archive <http://www.mulberrytech.com/xsl/xsl-list>
EasyUnsubscribe <http://lists.mulberrytech.com/unsub/xsl-list/3183067> (by
email <> )
|