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

Re: Use of data() function

Subject: Re: Use of data() function
From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx>
Date: Sun, 2 Mar 2008 22:45:37 +0530
Re:  Use of data() function
Thanks Florent for useful pointers ... I do have some difference of
opinion to the below point. Kindly see my remarks below.

On Sun, Mar 2, 2008 at 6:32 PM, Florent Georges <lists@xxxxxxxxxxxx> wrote:
For instance
>  test="@married" would be an error; you should say
>  test="exists(@married)" or test="xs:boolean(@married)" instead.

I think, as others explained, test="@married" is correctly written
(Andrew, infact said test="@married" and test="exists(@married)" would
result in same behaviour.

As written in spec, and you also wrote in this mail, "for non empty
sequence of nodes, EBV is true". test="@married" returns true if an
attribute 'married' exists. Please correct me, if I am wrong.


-- 
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.