Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - Re: [xsl] Use of data() function (was: Re: [xsl] [OT]) >Thread Next - Re: [xsl] Use of data() function Re: [xsl] Use of data() function (was: Re: [xsl] [OT])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 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
