xsl-list
[Top] [All Lists]

Re: [xsl] Predicate Evaluation

2007-11-26 08:06:46
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(_at_)nag(_dot_)co(_dot_)uk> 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.
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>