RE: Xpath AndExpr on attribute values?

Subject: RE: Xpath AndExpr on attribute values?
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Tue, 6 Jun 2000 11:53:17 +0100
> Or, more complexly, how can I massage the returned node-sets
> from the two terms of my original expression so that I can
> validly use an "and" on them and get the result I'm looking for?

XPath doesn't have an intersection() function or operator to find the
intersection of two node-sets. It's not needed in your case because you can
combine the predicates. The "and" operator is a boolean conjunction, not a
set intersection. Saxon and xt both provide intersection() as an extension

Mike Kay

 XSL-List info and archive:

Current Thread