xsl-list
[Top] [All Lists]

Re: [xsl] Schema aware XPath 2.0 doubt

2009-05-09 07:32:59
Thanks, Mike for the answer. This helps me.

On Sat, May 9, 2009 at 2:54 PM, Michael Kay <mike(_at_)saxonica(_dot_)com> 
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

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

<Prev in Thread] Current Thread [Next in Thread>