Skip to main content

XML Output

Description:

XML Output is a step in the Output Plugin for Process Studio Workflows. The XML Output step writes data rows from the source to one or more XML files.

Configurations:

No.Field NameDescription
File Tab:XML Output is a step in the Output Plugin for Process Studio Workflows. The XML Output step writes data rows from the source to one or more XML files.
1Step NameName of the step. This name has to be unique in a single workflow.
2FilenameSpecifies the file name and location of the output text file

Note: Don't add the extension in this field, when the date and time should optionally be appended and afterwards the extension option (see Extension option field below). When the Extension option is left blank, add it to this field.

3Do not create file at startEnable to avoid empty files when no rows are getting processed.
4Pass output to servletEnable this option to return the data via a web service instead writing into a file
5ExtensionAdds a period and the extension to the end of the file name (.xml)
6Include stepnr in filenameIf you run the step in multiple copies (see also Launching Several Copies of a step), the copy number is included in the file name, before the extension (_0)
7Include date in filenameIncludes the system date in the file name (_20041231)
8Include time in filenameIncludes the system date in the file name (_235959)
Content Tab:
1ZippedCheck this if you want the XML file to be stored in a ZIP archive.
2EncodingThe encoding to use. This encoding is specified in the header of the XML file.
3Parent XML elementThe name of the root element in the XML document.
4Row XML elementThe name of the row element to use in the XML document.
5Split every ... rowsThe maximum number of rows of data to put in a single XML file before another is created
Fields Tab:
1FieldnameThe name of the field.
2ElementnameSpecify the name of the element in the XML file to use.

Type: Type of the field can be either String, Date, or Number.

3TypeType of the field can be either String, Date, or Number. Format mask from which to convert;see Number formats for a complete description of format specifiers.
4LengthThe length option depends on the field type follows:

- Number - Total number of significant figures in a number

- String - total length of string

- Date - length of printed output of the string (e.g. 4 only gives back year)

Note: the output string is padded to this length if it is specified.

5PrecisionThe precision option depends on the field type as follows:

- Number - Number of floating point digits

- String - unused

- Date - unused

6CurrencySymbol used to represent currencies such as $10,000.00 or E5.000,00
7DecimalA decimal point can be a "." (10,000.00) or "," (5.000,00)
8GroupA grouping can be a "," (10,000.00) or "." (5.000,00)
9NullIf the value of the field is null, insert this string into the textfile
10Get fieldsClick to retrieve the list of fields from the input stream(s).
11Minimal widthAlter the options in the fields tab in such a way that the resulting width of lines in the text file is minimal; for example instead of save 0000001, "1" is written, and so on. String fields are not padded to their specified length.