|
Subject: Re: [xsl] Use of data() function (was: Re: [xsl] [OT]) From: Florent Georges <lists@xxxxxxxxxxxx> Date: Sat, 1 Mar 2008 19:22:07 +0100 (CET) |
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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Use of data() function (w, Mukul Gandhi | Thread | Re: [xsl] Use of data() function (w, Mukul Gandhi |
| Re: [xsl] parser error with CDATA s, Werner Remmers | Date | [xsl] Transform param name to tagna, phil . kursawe |
| Month |