xsl-list
[Top] [All Lists]

Re: [xsl] Use of data() function (was: Re: [xsl] [OT])

2008-03-01 23:11:52
Hi Florent,
   Thanks for your reply. Please see my remarks below.

On Sat, Mar 1, 2008 at 11:52 PM, Florent Georges 
<lists(_at_)fgeorges(_dot_)org> 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--