xsl-list
[Top] [All Lists]

Re: [xsl] A nice way to implement the ANDing of the comparison of pairs of items in a sequence?

2013-09-05 15:56:46
Glad to see this issue at hand reolved so elegantly but if I might
clarify one digressional point:

DeMorgan's Law: is not
  "AND" is the same as "not( OR )"
but rather
 "AND" is the same as "not( NOR )"

On Thu, Sep 5, 2013 at 4:24 PM, G. Ken Holman
<gkholman(_at_)cranesoftwrights(_dot_)com> wrote:
I think Michael wins this one!


. . . . . . Ken

At 2013-09-05 21:06 +0100, Michael Kay wrote:

How about

deep-equal($v[position() mod 2 = 0], $v[position() mod 2 = 1])

Michael Kay
Saxonica



--
Public XSLT, XSL-FO, and UBL classes in the Netherlands     Oct 2013 |
Public XSLT, XSL-FO, UBL and code list classes in Australia Oct 2013 |
Contact us for world-wide XML consulting and instructor-led training |
Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm |
Crane Softwrights Ltd.            http://www.CraneSoftwrights.com/s/ |
G. Ken Holman                   
mailto:gkholman(_at_)CraneSoftwrights(_dot_)com |
Google+ profile: https://plus.google.com/116832879756988317389/about |
Legal business disclaimers:    http://www.CraneSoftwrights.com/legal |


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




-- 
 - michael dykman
 - mdykman(_at_)gmail(_dot_)com

 May the Source be with you.

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