Read XML operation

Reads an XML file from the file system of the LiveCycle Server, and saves the file as an XML document in the process data.

For information about the General and Route Evaluation property groups, see Common operation properties.

Input properties

Properties for specifying the file to read.

Filename

A string value that represents the fully qualified name of the file to read from the file system of the LiveCycle Server. Filename can include the following parameters that are replaced with specific values at run time.

Parameter

Description

%Y

The current year (four digits)

%y

The current year (last two digits)

%M

The current month

%D

The current day of the month

%d

The current day of the year

%H

The current hour using the 24-hour clock

%h

The current hour using the 12-hour clock

%m

The current minute

%s

The current second

%R

A random number between 0 and 9

CharSet

(Optional) A Character Set (File Utilities) value that represents the character set that the file uses. The following values are valid:

  • Big_Five

  • GB_2312

  • ISO_8859_1

  • ISO_8859_2

  • ISO_8859_7

  • KSC_5601

  • Shift_JIS

  • US_ASCII

  • UTF_16

  • UTF_16BE

  • UTF_16LE

  • UTF_8

The default is UTF_8. If you create a com.adobe.livecycle.fileutils.CharSet variable, you must select Find Type in the Type list and search for the CharSet type.

Output properties

Properties for storing operation results.

Result

(Optional) The location in which to save the file content that is read. The data type is org.w3c.dom.Document.

Exceptions

The exception event attached to this operation can receive FileUtilsException exceptions.