Skip to main content
Version: 1.25

Parse XML Into JSON Tokens

This action transforms XML into JSON and then applies the same logic as Parse JSON into tokens. This means you can use the same suite of actions that you would normaly use for JSON manipulation after parsing it into tokens. Creates tokens that follow this pattern [<BaseTokenName>:PropertyName]. BaseTokenName is a parameter of this action that is specified below. Note that if the the object is complex, child nodes can be accessed with dot notation like this [<BaseTokenName>:Property.SubProperty.AndSoOn]. XML Attributes of a node can be accessed with [<BaseTokenName>:@AttributeName] syntax. The tokens resulting from an array parse will look like this: [:0.Property], [:1.Property].

Parameter Reference

ParameterDescriptionSupports TokensDefault
XML StringCan contain contextual tokens (for example [Email]) and My Tokens.YesNone
Base Token NameThis is a prefix for all tokens that are created from the XML string. See action help text above for details.NoNone