Note: | The result for this action is a simple number rather than a well-formed document. |
Select item to count | Click in this field to select the repeating items that you want to count.See Select Fields or Paths for Block Properties with the Path
Selector for more information. |
Add Conditions / Remove All Conditions | To filter the set of repeating items that should be counted, click Add Conditions and complete one or more conditions. To remove all conditions, click Remove All Conditions. |
apply condition | If you add multiple conditions, use this option to determine whether all conditions or only one must be met for an item to be counted. |
left condition field | Click here to select the field in each repeating item that you want to use to filter the items to count. See Select Fields or Paths for Block Properties with the Path
Selector for more information. |
comparison function | If needed, change the comparison function for the filter condition: Contains = checks to see that the text characters you are filtering for are present somewhere in the field you have chosen to filter by. The comparison is not case sensitive, unless you set the Case Sensitive option. Does not contain = checks to see that the text characters you are filtering for are not present somewhere in the field you have chosen to filter by. The comparison is not case sensitive, unless you set the Case Sensitive option. Matches = checks to see that the characters you are filtering for are present somewhere in the field you have chosen to filter. Does not match = checks to see that the characters you are filtering for are not present somewhere in the field you have chosen to filter. = (equals), != (does not equal), > (is greater than), < ()is less than, >= (is greater than or equals) or <= ()is less than or equals = compares the entire value of the field you select with the value you set for the filter condition using standard numeric comparisons. |
right condition field | Set the value to check for in the right side of the condition. You can: Enter a value, word or phrase directly in the right side of the filter condition. Use an input field to provide the value dynamically. See Selecting Existing Input Blocks for Block Properties or Add Input Fields Directly to Block Properties for instructions. Use a MashZone NextGen global or user parameter to provide the value. See Use MashZone NextGen Global or User Attributes in Block Properties for instructions. |
Case Sensitive | Set this option if the condition should be case sensitive. |
Add Condition | Add another condition. |
Note: | MashZone NextGen developers who know XPath well can use the Advanced Mode button to customize the XPath expressions for conditions. Use the advance mode with care, however, as it disables the display of conditions in basic mode. If you return the condition to basic mode, your customized XPath expression for the condition is lost. See Edit Mashup XPath Expressions in Advanced Mode for more information. |