Wednesday, May 2, 2012

XSLT convert mm/dd/yyyy to yyyy-mm-dd

I'm having an issue where I'm getting an XML file, and from the samples that I get the format of date that I'm getting is mm/dd/yyyy and sometimes it is m/d/yyyy. My task is to convert this to another XML where the schema only accepts yyyy-mm-dd. I'm limited to using XSLT 1.0/XPATH 1.0. I appreciate any help.



-Tim





No comments:

Post a Comment