Thanks for the info Charlie.
The incoming XML tag has ENGINE=xs:dateTime and value is like this:
2014-04-20T08:46:45Z
I just want to get the date into the OB tag which has xs:date type in schema definition.
I am using the xlate pre proc and getting the error message as mentioned above.