[XSL-LIST Mailing List Archive Home]
RE: [xsl] comparing two xpath fragment with xslt1.0
Subject: RE: [xsl] comparing two xpath fragment with xslt1.0|
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 8 Oct 2004 15:32:18 +0100
> thank you for yours reactions,
> i means that the two xpaths is equivalent in the sense that
> they produce
> the same results when evaluated against a particular source document.
OK, so you're not comparing two XPath expressions, you are comparing the
node-sets produced when they are evaluated.
Simplest test is
count(a) = count(b) and count(a) = count(a|b)