I need to produce the following output for a field defined as xsd:dateTime.
I tried with a XSLT mapping with a XPATH function "current-dateTime()". However, the XSLT engine of XI doesn't seem to support this XPATH function.
How can I produce the output according to the XSD datTime datatype?
If this is an IDOC to GUSI/xCBL/EDI scenario. You could obtain the date from the field CREDAT and the time from CRETIM under the EDI_DC40 segment.
CREDAT --> DateTrans: yyyyMMdd to yyyy-MM-dd --> concat: T --> Target
CRETIM --> DateTrans: HHmmSS to HH:mm:SS -
Hope this helps,
Edited by: Mark Dihiansan on Feb 27, 2009 12:40 PM
You can use XSLT runtime constants.
Check this link for XSLT date time