xsl-list
[Top] [All Lists]

Re: [xsl] Adding a xs:yearMonthDuration to a xs:dateTime to obtain a new xs:dateTime variable

2006-10-16 04:42:52
Allan Kamau wrote:

  Hi

If I use 
<xsl:variable name="tmp3"
select='$currentGridDate+xs:yearMonthDuration("P1M")'/>
or
<xsl:variable name="tmp3" as="xs:dateTime"
select='$currentGridDate+xs:yearMonthDuration("P1M")'/>

The datetype of $tmp3 will be xs:dayTimeDuration in
both cases.

  How do you test the type of $tmp3?  And how do you declare
$currentGridDate?

  Regards,

--drkm






















        

        
                
___________________________________________________________________________ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Demandez à ceux qui savent sur Yahoo! Questions/Réponses
http://fr.answers.yahoo.com

--~------------------------------------------------------------------
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>
--~--