"OR" condition while selecting attributes

Mar 6, 2013 at 6:37 AM
Edited Mar 6, 2013 at 6:38 AM
Hi ,

In HAP i found "|" works as "and" condition, then what's the alternative or "or" condition.

eg: i want the list of element which neither have "abc" nor "xyz" as their attributes.

htmldoc.DocumentNode.SelectNodes("//*[not(@abc| @xyz)]");

but this list the element which does not have both "abc" and "xyz"


Any help will be appreciated.