xsl-list
[Top] [All Lists]

Formatting xsd:duration with XSLT 1.0

2005-02-08 13:58:48

Hello,

In my scenario I need to render a date of type xsd:duration into a user 
friendly representation, within libxslt's capabilities.

From what I can tell, there's no way to do that with plain XSLT 1.0(right?), 
so I looked at exslt, and even if libxslt had support for date:format-date()
[1], it wouldn't have helped since format-date does by definition not support 
xsd:duration.

If it is at all possible to render xsd:duration with XSLT, how is it done?


Cheers,

                Frans

1.
http://www.exslt.org/date/functions/format-date/index.html

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>