xsl-list
[Top] [All Lists]

Re: [xsl] Use of data() function

2008-03-02 10:16:13
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(_at_)fgeorges(_dot_)org> 
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

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