XML


The XML node converts the data in an XML file to JSON format.

Node Type

Action.

Input and Output Ability

This node has multiple entry points and 1 exit point. The input must be an XML file.

Node Properties

../../_images/xml.png


Name

The name for this node.


Description

The description for this node.

Limitations

  • Each XML node can only convert 1 file.

Samples

Input Sample

{
    "MetaData": {
        "files": "[\"/tmp/xmlfile.blob\"]"
    },
    "Body": {
        "assetId": "abc",
        "timestamp": 24214324324,
        "measurepoints":{
            "temperature": 22.4,
            "humidity": 78
        }
    }
}

Output Sample

{
    "MetaData": {
        "files": "[\"/tmp/xmlfile.blob\"]"
    },
    "Body": {
        "node": {
            "heading": "Reminder",
            "from": "Jenny",
            "to": "Tony",
            "body": "It's okay, when all else fails, reboot!"
        }
    }
}