Posted: Wed Dec 08, 2010 3:36 am Post subject: Date converstion
Apprentice
Joined: 20 Aug 2008 Posts: 32
Hi,
I use datapower XI 50. I need to convert the XML formatted date (CCYY-MM-DD) into a Cobol format date (DDMMCCYY). I tried to use the xslt date-format function, but its not supported. Moreover I cant change any setting in the datapower. And for time conversion also, I need to perform the same. Please advise is there any alternative option for this.
I suspect your input is not a xsd:date field. Try to use the sub-string operations to achieve what you want
The only approach i can think of is to code your own XSLT that does this for you
Tons of examples on the internet for creating XSLT
http://stackoverflow.com/questions/416944/date-and-time-conversions-xslt
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum