Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - Re: [xsl] Use of data() function (was: Re: [xsl] [OT]) >Thread Next - Re: [xsl] Use of data() function Re: [xsl] Use of data() functionTo: Date: 3/2/2008 5:16:00 PM 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 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
