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 (was: Re: [xsl] [OT])To: Date: 3/1/2008 6:23:00 PM Mukul Gandhi wrote:
Hi
> I think, as Mike explained, the above xsl:if instruction
> checks for the effective boolean value of the expression,
> data(@married) to decide, whether contents of xsl:if have
> to be generated.
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.
> (I am a bit curious why such a semantic is being designed
> into the language?).
Which semantics in particular?
Regards,
--drkm
_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail http://mail.yahoo.fr | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
