XSLTGeneral questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Hi I have the requirement where I need to convert the time from one format to other. Initially I have a requirement to convert from 2010-07-05T05:05:38.881 to 2010-07-05-05.05.38 which i am able to acheive using format-dateTime. Now I want the reverse case. can some one suggest can I convert using format-dateTime xpath function?
Thank you. I am able to acheive it. I am trying to use dateTime function with <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform".. which is incorrect. Changing to correct version 2.0 solved my issue.