Community
Participate
Working Groups
The following fragment is a part of an xml file given as source to a XML Data Source <Rules> <Rule id="ruleID"> <Stats total="0"/> </Rule> </Rules> <Rules> <Rule id="ruleID"> <Stats total="10"/> </Rule> </Rules> I use this Data Source to define a Data Set. In the "Row Mapping" section I want to select only the elements which have the total attribute value not equal to "0"; When i specify the XPath Expression as /Rules/Rule/Stats[@total!='0'] or /Rules/Rule/Stats[not(@total='0')] there are no results. Note that the expression /Rules/Rule/Stats[@total='0'] works fine. Severity set to minor because we can use filters to achieve the goal.