Re: [xsl] Predicate Evaluation

Subject: Re: [xsl] Predicate Evaluation
From: "Fernando Ribeiro" <webmaster@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 26 Nov 2007 13:05:43 -0200
Humm, my mistake. I was trying to select a ns2:Element2 element which
value is equal to the value of a ns1:Element2 element, instead. What
would be the right expression to do so? Thanks.

On 11/26/07, David Carlisle <davidc@xxxxxxxxx> wrote:
>
> ns2:Element1[ns2:Element2 = ns1:Element2]
>
> selects those ns2:Element1 nodes that have an [ns2:Element2 child that
> is equal to a ns1:Element2 child.
>
> but your sample input has no ns2:Element1 elements that have
> ns1:Element2 children.
>
> By evaluating it in a variable you are evaluating it in a different
> context.
>
> David
>
> ________________________________________________________________________
> The Numerical Algorithms Group Ltd is a company registered in England
> and Wales with company number 1249803. The registered office is:
> Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
>
> This e-mail has been scanned for all viruses by Star. The service is
> powered by MessageLabs.
> ________________________________________________________________________

Current Thread