Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] Use of data() function (was: Re: [xsl] [OT])

From: "Mukul Gandhi" <gandhi.mukul@--------->
To:
Date: 3/2/2008 6:12:00 AM
Hi Florent,
   Thanks for your reply. Please see my remarks below.

On Sat, Mar 1, 2008 at 11:52 PM, Florent Georges <lists@xxxxxxxxxxxx> wrote:
>   Yes.  If it has been declared as a xs:boolean (and been
>  validated), the EBV of the expression will be the value of
>  the boolean.  If the expression is a node (for instance
>  @married), the EBV is false iff this node set is empty.
>
>   Which semantics in particular?

I was doubtful, if it's written like: xsl:if test="data(@married)"
then why EBV is checked. After thinking a bit, I think I am little
clear now. test="" would test for EBV of the expression in "". That is
the semantics of test="" syntax.

After reading the rules for finding EBV of a value, I think I have
understood the logic of all this.

Thanks for the explanations. I'll post further doubts I might have ...


-- 
Regards,
Mukul Gandhi


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent