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
|