request - XMLContains(String path)

Returns true if the given path exists in the XML DOM.

This method is available only if the request body is a valid XML payload. If you are not sure what format the request body includes, check the contentType field on the request object.

Table 1. Parameters
Name Type Description
path String XPath statement you are searching for.
Table 2. Returns
Type Description
Boolean Whether the given path exists in the XML DOM.