xsl-list
[Top] [All Lists]

[xsl] RenderX XEP current date error

2018-11-06 06:57:26
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/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--
<Prev in Thread] Current Thread [Next in Thread>