This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Xpath AndExpr on attribute values?
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Xpath AndExpr on attribute values?
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Tue, 6 Jun 2000 11:53:17 +0100
- Cc: Juergen Hermann <jhe at webde-ag dot de>
- Reply-To: xsl-list at mulberrytech dot com
> 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
function.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list