This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: XSLT 1.1 comments (node equality)


> > a prefix form would be safer: same-node(a,b) although
> that's probably a
> > bad name since a and b would be node sets, even if they were "." .
> >
> I can't think of a better name off-hand - it's still testing for "same
> node", even within it's node-set arguments. Would it be an
> XPath or XSLT function?

In Saxon I called this function has-same-nodes(a, b), it returns true if the
difference between the two node-sets is empty. I think same-node(a, b) might
suggests a function that returns true if the intersection is non-empty.

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]