parse xml

This block is part of the files group and was last modified in core v12.0.4.

parse xml v12.0.4

Parse an XML file into an object with XML attributed data

In pins 5 + flow
  • flow
    flow
  • file required
    file
  • normalize
    condition

    Transforms the keys to lowercase

    Default false

  • strip prefix
    condition

    Strips the xml namespace prefix from the keys

    Default false

  • parse numbers
    condition

    Parses integer-like strings and float-like strings as floats

    Default false

  • parse booleans
    condition

    Parses boolean-like strings to booleans

    Default false

Out pins 3 + flow
  • flow
    flow
  • object
    object
  • success
    condition
  • error
    value

A typical wiring for parse xml: a function trigger starts the flow; get file from assets feeds the file pin; the flow out pin feeds debug.

Studio canvas example for the parse xml block: typical wiring for parse xml.

Version history

Introduced in v12.0.4.


Back to files Return to the main group to view all sub-groups Back to file parsing Return to the group to view all blocks within this group