I'm trying to get a list of nodes using the XMLNodeList.Sel ectNodes( xpath ) method. I want a list of criteria nodes where the attribute notModifiable is false or doesn't exist. Anyone know how to do this? So far I can grab the nodes with notModifiable equal false but I don't know how to do the second bit. My statement is like below
XmlNodeList criteriaNodeLis t = groupNode.Selec tNodes("criteri a[attribute::notm odifiable != \"true\"]");
I need to append something to this XPath statement to get the nodes which do not contain the attribute notModifiable
XmlNodeList criteriaNodeLis t = groupNode.Selec tNodes("criteri a[attribute::notm odifiable != \"true\"]");
I need to append something to this XPath statement to get the nodes which do not contain the attribute notModifiable
Comment