from object

This block is part of the xml group and was last modified in core v10.4.28.

from object v10.4.28

In pins 2 + flow
  • flow
    flow
  • XML Root Tag required
    value

    The root tag entity of the XML to build (e.g. "user")

  • data required
    object

    Data to build XML from, you could use "@" keys to add attributes.

Out pins 3 + flow
  • flow
    flow
  • success
    condition

    Returns true if we could build XML from given object

  • XML
    value

    If succeeded, returns the XML output as value

  • error
    value

    If not succeeded, returns the error while building XML

A typical wiring for from object: a function trigger starts the flow; the flow out pin feeds debug.

Studio canvas example for the from object block: typical wiring for from object.

Version history

Introduced in v10.4.28.


Back to xml Return to the main group to view all sub-groups Back to XML Return to the group to view all blocks within this group