|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Converting from datetime in milliseconds to a specific
Using Xalan-Java and XSLT, I am trying to convert date from an input xml
that has it expressed as a single number (in milliseconds) e.g. the input
xml has 1088499889000 that corresponds to the date 2004-06-29
09:04:49.000GMT.
Doing this conversion within java is simple. To try and do this within XSLT, I looked up extensions like XSLT-SL and EXSLT - but they do not seem to have functions for this. Are there any extensions available that I could use for this conversion? Alternatively I saw that Xalan-J allows calls to java functions from XSL. So an option is to convert the numeric date by calls to Java api. But restrictions on parameter-types in such calls introduce difficulty here. Is there any other/better/easier way to do this? If making Java calls from XSL is to be used, how bad would be the performance impact of that? - Vish.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








