IS_XML

Checks if a text value is valid XML.

Syntax 

IS_XML(text)

Usage examples 

Example 1

Input

1
{
2
"my_action": {
3
"message": "<foo></foo>"
4
}
5
}

Formula

IS_XML(my_action.message)

Output

true

Example 2

Input

1
{
2
"my_action": {
3
"message": "<foo></bar>"
4
}
5
}

Formula

IS_XML(my_action.message)

Output

false
Was this helpful?