Can Contain | Empty |
Allowed In | mashup | catch | else | elseif | for | foreach | if | macro | operation | sequence | try | while |
Name | Required | Description |
actualexpr | An XPath expression identifying one or more nodes, values or any valid calculation to be used in the comparison for this assertion. Assertions must contain at least one of actualexpr or actualvar. | |
actualvar | The variable to be used in the comparison for this assertion. For variables that are a document type, the comparison is made for all nodes. Assertions must contain at least one of actualexpr or actualvar. | |
equals | Optionally determines what operator is used for the comparison of this assertion. True (the default) uses equals as the operator or false uses not equals. | |
expectedexpr | An XPath expression identifying one or more nodes, values or any valid calculation that the actualexpr or actualvar should be compared to. Assertions must contain at least one of expectedexpr, expectedvar, literal, count or elementdepth. | |
expectedvar | The variable that the actualexpr or actualvar should be compared to. Assertions must contain at least one of expectedexpr, expectedvar, literal, count or elementdepth. | |
literal | The literal value that the actualexpr or actualvar should be compared to. This value is treated as a string. Assertions must contain at least one of expectedexpr, expectedvar, literal, count or elementdepth. | |
count | An XPath expression identifying a set of one or more nodes. The actualexpr or actualvar is compared against the number of nodes found in this node set. Assertions must contain at least one of expectedexpr, expectedvar, literal, count or elementdepth. | |
elementdepth | An XPath expression identifying a set of one or more nodes. The actualexpr or actualvar is compared against the number of levels of descendants plus 1 (for the node itself) of the nodes in this node set. Assertions must contain at least one of expectedexpr, expectedvar, literal, count or elementdepth. |