[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

AW: dates in schema

Subject: AW: dates in schema
From: "Szabo, Patrick \(LNG-VIE\)" <patrick.szabo@xxxxxxxxxxxxx>
Date: Mon, 5 Sep 2011 11:38:12 +0200
AW:  dates in schema
We have a xml-schema validation running here and i think in xml-schema
current-date() is not avaiable is it ?!


. . . . . . . . . . . . . . . . . . . . . . . . . .
Ing. Patrick Szabo
 XSLT Developer
LexisNexis
Marxergasse 25, 1030 Wien

mailto:patrick.szabo@xxxxxxxxxxxxx
Tel.: 00431 534521573
Fax: +43 (1) 534 52 - 146


-----UrsprC<ngliche Nachricht-----

Von: Andrew Welch [mailto:andrew.j.welch@xxxxxxxxx]
Gesendet: Montag, 05. September 2011 11:35
An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Betreff: Re:  dates in schema

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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.