I have this script below which filters out a list of xmls based on the attribute value:
gci $path | Select-Xml -XPATH "//Order[contains(@Value, '0')]"
I am trying to filter out those XMLs with a "value of zero". The problem is that when I run the script against my source, it returns everything that has a "0" in the value. How can I change the filter to only filter on "0", ie. no value greater than zero? I guess there is a filter to replace "contains" to something like "match", but I've tried this. Can't find any alternatives on the Internet.