Date formatting in xpath
944542Jun 19 2012 — edited Jun 20 2012Hi,
I have a requirement to display the nearest date in the xml using xpath. So i used the following function to display the nearest date and it works,
min(/virtualMachine/diskVolume/capacityDepletionDate/xs:date(xs:dateTime(.)))
Now the prob is, I need to display the date in specific format. I need in the format of Aug 20, 2012.
But the above function gives me result as 2012-08-20+05:30. So could someone help me to format this output in the xml?
Thanks,
Anand.