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
The context element against which the Location Path is interpreted.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
The Location Path expression specifying how the elements or attributes should be searched.Use the Location Path Builder (found at the left panel's tree) to quickly construct a Location Path needed for this parameter.
value
The value to test
See Also:
getValuesByLPath(), hasAttrValue(), GOMElement.value
${include ../../../refs/lpaths.htm}