Re: [xsl] Re: Determining whether no single instance of a specific node exists

Subject: Re: [xsl] Re: Determining whether no single instance of a specific node exists
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 5 Jun 2009 14:16:59 +0100
> I'm trying to determine whether no instance of <c/> exists for each
> <b/> set.

what do you actually mean by this

test="not(b/c)"

is true if there are no c grandcildren.

If you mean that you want the test to be true unless 
that every b child has a c child then that's
not the case taht there is a b that has not got a c so:

test="not(b[not(c)])"


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