Table of Contents

Search

  1. Preface
  2. Workflow Manager
  3. Workflows and Worklets
  4. Sessions
  5. Session Configuration Object
  6. Tasks
  7. Sources
  8. Targets
  9. Connection Objects
  10. Validation
  11. Scheduling and Running Workflows
  12. Sending Email
  13. Workflow Monitor
  14. Workflow Monitor Details
  15. Session and Workflow Logs
  16. Session Properties Reference
  17. Workflow Properties Reference

Working with XML Targets in a Session

Working with XML Targets in a Session

When you configure a session to load data to an XML target, you define writer properties on the Mapping tab of the session properties.
The following table describes the properties you define in the XML Writer:
XML Targets Options
Description
Output File Directory
Enter the directory name in this field. By default, the Integration Service writes output files in the service process variable directory, $PMTargetFileDir.
You can enter the full path and file name. If you specify both the directory and file name in the Output Filename field, clear this field. The Integration Service concatenates this field with the Output Filename field when it runs the session.
You can also use the $OutputFileName session parameter to specify the file directory.
Output Filename
Enter the file name or file name and path. By default, the Workflow Manager names the target file based on the target definition used in the mapping:
target_name
.xml.
If the target definition contains a slash character, the Workflow Manager replaces the slash character with an underscore.
Enter the file name, or file name and path. Optionally, use the $OutputFileName session parameter for the file name.
If you specify both the directory and file name in the Output File Directory field, clear this field. The Integration Service concatenates this field with the Output File Directory field when it runs the session.
If you specify an absolute path file name when using FTP, the Integration Service ignores the Default Remote Directory specified in the FTP connection. When you specify an absolute path file name, do not use single or double quotes.
Validate Target
Validates simple data types. The Integration Service does not validate the target XML structure against a schema.
Format Output
Format the XML target file so the XML elements and attributes indent. If you do not select Format Output, each line of the XML file starts in the same position.
XML Datetime Format
Select local time, local time with time zone, or UTC. Local time with time zone is the difference in hours between the server time zone and Greenwich Mean Time. UTC is Greenwich Mean Time.
Null Content Representation
Choose how to represent null content in the target. Default is No Tag.
Empty String Content Representation
Choose how to represent empty string content in the target. Default is Tag with Empty Content.
Null Attribute Representation
Choose how to represent null attributes. Default is No Attribute.
Empty String Attribute Representation
Choose how to represent empty string attributes in the target. Default is Attribute Name with Empty String.