XML

Introduction

Extensible Markup Language (XML) is a format for the files that store data in a structure that is both machine-readable and human-readable.

Supported actions

For XML format, YAP ensures the following actions:

  • Write files

  • Read files

Write files

List of fields available for Write files action on XML connector:

Field

Type

FileName

String

Value

String

Content-type

String

Read files

List of fields available for Read files action on XML connector:

Field

Type

Value

String or Array

Setup requirements

Before setup, please check that you have granted to YAP the permission to send notification to your XML account. For this, sign in to XML and authorize the permissions requested by YAP.

Connection

Write XML file

YAP writes out correct delimited text strings given an array of arrays or an array of objects.

Fields

Name

Type

Required

Description

field

Object

Yes

Select field on data processing scoped.

variable

String

Yes

Variable for stored file.

fileName

String

Yes

Name of file name.

multiple

Boolean

No

If processing must generate several CSV files in field. Default parameter: false.

Data input

Example of data input injected in field:

Data output

Example of data stored in data processing pipeline:

Single csv file
Multiple csv files
Single csv file
// For one xml file processing
{
"#csv": {
"key": "1233774C-D28C-479D-9CE7-12E4F8A7361A9062708393434.csv",
"ETag": "\"c1ba1b0640a6f6489ae213a5e116\"",
"name": "Transactions-3last",
"urlTmp": "https://storage.youngapp.co/1233774C-D28C--9CE7-12E4F361A-2019062708393434.csv",
"fileName": "data.csv",
"extension": "csv",
"subDirectory": "0612900020312808"
}
}
Multiple csv files
// For multiple csv file processing. the files is stored in array
{
"#csv": [{
"key": "1233774C-D28C-479D-9CE7-12E4F8A7361A-2019062708393434.csv",
"ETag": "\"c1ba1b0640a6f6489ae213a5e116\"",
"name": "Transactions-3last",
"urlTmp": "https://storage.youngapp.co/1233774C-D28C-479D-9CE7-12E4F361A-2019062708393434.csv",
"fileName": "data.csv",
"extension": "csv",
"subDirectory": "0612900020312808"
}]
}

Read XML file

Delimited data can be parsed out of strings or files.

Data input

Name

Type

Required

Description

field

Object

Yes

Select field to read XML

variable

String

Yes

Variable for stored data

mode

Number

Yes

Type of structure data

Data output

Questions? We're always happy to help with any issues you might have! Send us an email to support@youngapp.co or request the demo with our sales team.