Click here to Skip to main content
15,888,454 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have xml file with these element date (20120807) and time (165608)
i need to concat these two and in the output xml the format should be
2012-08-07T16:56:08

how do i acheive this in xslt.

Thanks
Posted
Updated 8-Aug-12 6:15am
v2

1 solution

 
Share this answer
 
Comments
ap121976 8-Aug-12 13:02pm    
I TRIED THAT IT IS NOT WORKING I WANT CONVERT TO YYYY-MM-DDTHH:mm:ss format
Philip Stuyck 8-Aug-12 13:14pm    
Don't shout at me, that is very inpolite.
You have to go at it step by step, and use serveral of the functions that are shown at that webpage I referenced.
If you need more help then you will have to be more specific and show some xslt code that you have tried already.
ap121976 8-Aug-12 15:02pm    
i din shout at u...im sorry for hurting your feelings
Philip Stuyck 8-Aug-12 15:10pm    
All capitals is shouting, you probably did not know about this.
ap121976 8-Aug-12 15:20pm    
sorry i din know that

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900