Finds elements/attributes by the specified Location Path interpreted against the specified context element and tests if some of them has a value equal to the specified one.
This function works the same as the following expression:
getValuesByLPath(element, lpath).indexOf(value) >= 0
Parameters:
element
If this parameter is not specified, the Location Path will be interpreted against the generator context element, which is the same as the call:
contextElement.checkValueByLPath (
lpath, value
)
See Also: GOMContext.contextElement
lpath
Use the Location Path Builder (found at the left panel's tree) to quickly construct a Location Path needed for this parameter.
value
getValuesByLPath(), hasAttrValue(), GOMElement.value