I can\'t seem to get an XPath expression to work for my scenario. I want to find all the \"Device\" nodes that have the type \"EndDevice\". I\'m able to count all the \"Device\"