This project has moved and is read-only. For the latest updates, please go here.

"OR" condition while selecting attributes

Mar 6, 2013 at 7:37 AM
Edited Mar 6, 2013 at 7: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.