Key Capabilities
- Bidirectional PSV/XML conversion with configurable delimiters and encoding
- Header detection and custom column mapping capabilities
- Support for various character encodings and special character handling
Overview
Connector Configuration
This section contains all of the configurable connector properties.Settings Tab
Configuration
Settings related to the connector Id and description.Connector Settings
Settings related to the core operation of the connector.Other Settings
Settings not included in the previous categories.Sample Files Tab
Advanced Tab
Logging
Miscellaneous
Automation Tab
Automation Settings
Performance
Alerts Tab
SLAs Tab
Converting PSV to XML
ファイルが XML に変換されると、生成される XML は次の構造になります。Items の子になります。すべてのレコード要素の名前は、コネクタ設定で設定された Record Name オプションによって決定されます。各レコード要素は、入力ファイルの各行の値に対応する子要素を持ちます。
一部の ファイルには、ファイル内の値にコンテキストを提供するヘッダー情報の行が含まれています。First line is header information 設定が有効になっている場合、このヘッダー行が解析され、解析されたヘッダーが値要素(レコード要素の子)の要素名として使用されます。それ以外の場合、値要素には field_0、field_1 のような汎用的な名前が付けられます。
Converting XML to PSV
XML を ファイルに変換するには、入力 XML が「フラット」な構造になっている必要があります。これは、Items ルート要素を除いた XML 構造の深さが2であることを意味します。次に例を示します。
- ルート要素の子は、生成されるファイルのレコード(行)として扱われます
- 各レコード要素の子は、各行の値として扱われます
title、year、runtime で構成されます。