Subject: Re: Schema aware XPath 2.0 doubt
From: Mukul Gandhi <gandhi.mukul@xxxxxxxxx>
Date: Sat, 9 May 2009 17:02:11 +0530
|
Thanks, Mike for the answer. This helps me.
On Sat, May 9, 2009 at 2:54 PM, Michael Kay <mike@xxxxxxxxxxxx> wrote:
> Yes, this would succeed if element x were validated as an element of type
> xs:date.
>
> The reason is that operators like "gt" that expect an atomic value, if given
> a node as an argument, will automatically "atomize" the node. This extracts
> the typed value, which in this case is an atomic value of type xs:date.
>
> Michael Kay
> http://www.saxonica.com/
--
Regards,
Mukul Gandhi
|