On 7/5/07, Brian Thompson <[EMAIL PROTECTED]> wrote:
Would something like this work?


//element(*, superType)

and in your node type definitions file:

[superType] > nt:file

[typeA] > superType

[typeB] > superType


Or do you need to mix'n'match many different types where I put superType?

I realized that I could use what Marcel suggested, - standard xpath
with or and not use the element function at all.

Still, I belive that a depth search for more than one type is
something that would be useful in many cases. If the element function
was extended to e.g something like //element(*,'typeA | typeB') ?

Thanks,
Rohnny

Reply via email to