Hi!

>> If I have several elements with name , say "elem". Some of these "elem"
>> elements have "attr" attributes and some don't.
>> How do I get those "elem" nodes which DO NOT have the "attr" attribute
>> ?
>>
>>
>> [EMAIL PROTECTED] - will give all the "elem" nodes with "attr" attribute.
>> elem - will give ALL "elem" nodes.

>You might try something like elem[count(@attr) = 0]
>Hope that helps

You may also try

elem[not(@attr)]

which communicates your intent more clearly.

Joerg Seidler

Reply via email to