test Attribute
Specifies an Extensible Markup Language (XML) pattern that indicates the condition under which the bind element is executed. Optional.
HTML | <bind test = "pattern"> |
JScript | bind.test = "pattern" |
Remarks
The pattern used by the test attribute follows the format described in the XSL Transformations (XSLT) specification.
If unspecified, no condition is applied and the bind element is always executed when recognition results are returned.
Example
The following code demonstrates the use of the test attribute:
<salt:bind
targetelement="boxToCity" targetattribute="value"
value="//destination_city"
test="//destination_city[@confidence > 0.4]"/>
See Also
bind Element | targetattribute Attribute | targetelement Attribute | targetmethod Attribute