C# - XPath to find Subnodes that are null, OR have a specific Attribute value

Solution 1:

You can do this more simply with

/process/stage[@type='Action'][not(loginhibit/@onsuccess='true')]