user226817
user226817

Reputation: 297

Unknown system function: format-date in XSLT

I am oxygen editor to transform data XML into CSV format. To transform, I am using XSLT. I am using format-date function to convert date value in desired format.

<xsl:value-of select="format-date(wd:Evaluate_Employee_Effective_Date,'[M01]/[D01]/[Y0001]')" />

Also, how do I know that which version of XSLT I am using?

Upvotes: 2

Views: 1673

Answers (1)

ursitesion
ursitesion

Reputation: 988

As per the error, it looks like you are using unsupported version of validation engine. Please choose Saxon-HE/PE/EE 9.5.1.7 instead of Saxon6.5.5 If you are using eclipse or Oxygen editor, you can find this settings under preferences > XML > XSLT-FO-XQuery.

In Oxygen editor, you can choose engine from drop-down available in the left corner of control bar (below the menu bar).

Let me know if didn't work.

Upvotes: 1

Related Questions