[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] Use of data() function (was: Re: [xsl] [OT])
Subject: Re: [xsl] Use of data() function (was: Re: [xsl] [OT]) From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx> Date: Sun, 2 Mar 2008 11:40:55 +0530 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Use of data() function (w, Florent Georges | Thread | Re: [xsl] Use of data() function, Florent Georges |
Re: [xsl] Slow XSLT, Manfred Staudinger | Date | Re: [xsl] XSLT on Wikipedia, Kamal Bhatt |
Month |