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

Subject: Re: [xsl] Adding a xs:yearMonthDuration to a xs:dateTime to obtain a new xs:dateTime variable
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Mon, 16 Oct 2006 13:42:23 +0200 (CEST)
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






















	

	
		
___________________________________________________________________________ 
Dicouvrez une nouvelle fagon d'obtenir des riponses ` toutes vos questions ! 
Demandez ` ceux qui savent sur Yahoo! Questions/Riponses
http://fr.answers.yahoo.com

Current Thread