[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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

Subject: Re: Use of data() function (was: Re: [OT])
From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx>
Date: Sun, 2 Mar 2008 11:40:55 +0530
Re:  Use of data() function (was: Re:  [OT])
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.