|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Use of data() function (was: Re: [OT])
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

![Re: Use of data() function (was: Re: [OT])](/images/get_stylus.gif)




