XML_PARSE
Takes text containing XML and parses to an object
Categories: Data Parsing/Conversion
Syntax
XML_PARSE(text)
Examples
Example 1
Input
1
{
2
"my_action": "<message>\n<to>World</to>\n<from>Tines</from>\n<body>Hello World!</body>\n</message>"
3
}
Formula
XML_PARSE(my_action)
Output
1
{
2
"message": {
3
"body": "Hello World!",
4
"from": "Tines",
5
"to": "World"
6
}
7
}
Sample actions
Select an action to inspect
You can also click "Copy actions" and paste them in your Tines story to see how they work.