|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Error -- Could not find function: adjust-time-to-
The error code is strange, however your code cannot possibly run.
1. The xpath-datatypes namespace is defunct 2. the xsl:variable does not have an attribute 'value' 3. if 'value' should be 'select', then the content of that attribute is illegal (must be quoted) 4. if you try xs:time('20:30') it will fail, the time is "too short" Here's a rewrite of your code that works with Saxon 8.8 (just tested it): <xsl:variable name="MY_TIME" select=" '20:30:10' "/>
<xsl:variable name="DURATION" select=" '-PT6H' "/>
<xsl:value-of
select="adjust-time-to-timezone(xs:time($MY_TIME),
xs:dayTimeDuration($DURATION))"/>the namespace 'xs' must be bound to "http://www.w3.org/2001/XMLSchema" Cheers, -- Abel Braaksma http://www.nuntia.nl Girish.Chelankara@xxxxxxxxxxxxxxxxxx wrote: Hi,
|
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








