Will something like this help?

  /A//D/C[text()]

Gary


Nicholas Giannadakis wrote:
> >
> >Second, I'm pretty confused about what you're trying to do.  I
> >understand the first example, but why should the first <C/> element
> >-not- be selected in the second example?  It is a "C element that comes
> >after A and has a D parent".
> 
> let's say that the Cs that must not be selected have different types.
> Since the scopes of the corresponding schema definitions would be
> different, one would possibly like to have the Cs that come with
> xsd:string type and not those with xsd:integer for instance.

Reply via email to