Re: [xsl]comparing two xpath fragment with xslt1.0

Subject: Re: [xsl]comparing two xpath fragment with xslt1.0
From: Dimtre Novatchev <dnovatchev@xxxxxxxxx>
Date: Fri, 8 Oct 2004 22:57:15 +1000
> Precisely how to determine equivalence between P1 and p2? This means that a
> nodes set selected by P1 is equal to the nodes Set selected by P2.

    count($ns1) = count($ns2)
and
    count($ns1 | $ns2) = count($ns1)


Cheers,

Dimitre Novatchev.


On Fri, 08 Oct 2004 14:48:15 +0200, Janvier Majirus FANSI
<jmfansi@xxxxxxxxxxx> wrote:
> Hi all,
> Should everyone known how to compare two xpath fragments P1 and P2 with
> xslt?
> Precisely how to determine equivalence between P1 and p2? This means that a
> nodes set selected by P1 is equal to the nodes Set selected by P2.
> I thanks all of you in advance.
>
> regards
>
> Majirus
>
> _________________________________________________________________
> Hotmail : bienttt 250 Mo de stockage !
> http://www.imagine-msn.com/hotmail/fr-fr/

Current Thread