Subject: Re: instance-of schema-element
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Fri, 14 Mar 2008 15:43:37 +0100 (CET)
|
Andrew Welch wrote:
> <xsl:if test="$foo instance of schema-element(foo)">
> ...does that mean $foo is validated at that point?
No. That will test if the dynamic type of $foo already matches
schema-element(foo). Interesting points:
http://www.w3.org/TR/xpath20/#dt-sequencetype-matching
http://www.w3.org/TR/xpath20/#dt-dynamic-type
Regards,
--drkm
_____________________________________________________________________________
Envoyez avec Yahoo! Mail. La boite email la plus appreciie au monde. http://mail.yahoo.fr
|