xpath to select nodes excluding by attribute value list

pharanox

New Member
I would like to know if there is shorter approach to selecting a list of nodes ignoring the ones that have an attribute value specified in a listWorking example:\[code\]/item[not(@uid='id1') and not(@uid='id2')]\[/code\]Desired alternative:\[code\]/item[not(@uid in('id1','id2'))]\[/code\]
 
Back
Top