xsl-list
[Top] [All Lists]

Re: [xsl] RenderX XEP current date error

2018-11-06 12:12:46
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(_at_)gmail(_dot_)com 
[mailto:xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com] 
Sent: Tuesday, November 06, 2018 4:58 AM
To: XSL-List: The Open Forum on XSL 
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com>; 
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] 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 <> ) 
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--
<Prev in Thread] Current Thread [Next in Thread>