Re: [xsl] dates in schema

Subject: Re: [xsl] dates in schema
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Mon, 5 Sep 2011 10:35:26 +0100
On 5 September 2011 08:42, Szabo, Patrick (LNG-VIE)
<patrick.szabo@xxxxxxxxxxxxx> wrote:
> Hi,
>
> We jave am attribut that holds a date.
> Now i would like to check if that date is in the future.

You can use > and < to compare an xs:date with the current-date() or
current-dateTime()... but just be aware that those functions will
return the same value throughout the life of the transform.

> Is that possible in schema ?!

schema?



-- 
Andrew Welch
http://andrewjwelch.com

Current Thread