[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
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
|