[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: RenderX XEP current date error

Subject: Re: RenderX XEP current date error
From: "Kevin Brown kevin.brown@xxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 6 Nov 2018 18:12:40 -0000
Re:  RenderX XEP current date error
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 <> )

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.