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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
well milliseconds can never have value more than 999. but what we see is 15 numbers. also 1.500 is the same as "1 min and 500 milliseconds" or "1 min and 5 milliseconds"
as an analogy: 1.5 years would mean 1 year and 6 months rather than 1 year and 5 months.
if i do round off, then i may have to manipulate the seconds/hours/or even date part.
this date time value will make me do lot of string manipulation work.
(am i right?)
my requirement is 3 digits after the seconds part. and this should represent milliseconds. if there is a way to format this time stamp value so that just 3 digits are returned for the frac seconds part. so that i can readily consider this as milliseconds.
in our XI50 SOA appliance, the format-dateTime function is not supported unfortunately :(... what to do?
if you can give me the code of the format-dateTime template, i will try to import the same in my xsl.