xsl-list
[Top] [All Lists]

Re: [xsl] difference between an integer and current-dateTime()

2020-04-02 07:06:19
On Thu, Apr 2, 2020 at 3:32 PM Martin Honnen 
martin(_dot_)honnen(_at_)gmx(_dot_)de <
xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> wrote:

Do you consider 2.5 an unsigned integer? It is not.


The following, results in an error,

<xsl:variable name="dt1" select="xs:dayTimeDuration('PT5H')"/>
<xsl:value-of select="$dt1 div xs:dayTimeDuration('PT2.5H')"/>

2.5 needs to conform to the pattern |[0-9]+|  (i.e it cannot have a decimal
point). There seems to be some non conformance.




-- 
Regards,
Mukul Gandhi
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--
<Prev in Thread] Current Thread [Next in Thread>