August 15, 2023

Configuring data output – Docs for ESB 6.x

Configuring data output

  1. Double-click tFileOutputXML to show its
    Basic settings view.

    use_case-tfileinputpositional3-tos.png

  2. Enter the XML output file path.
  3. Define the row tag that will wrap each row of data, in this use case
    ContractRef.
  4. Click the three-dot button next to Edit
    schema
    to view the data structure, and click Sync columns to retrieve the data structure from
    the input component if needed.
  5. Switch to the Advanced settings tab view
    to define other settings for the XML output.

    use_case-tfileinputpos_xml_advsettings1.png

  6. Click the plus button to add a line in the Root
    tags
    table, and enter a root tag (or more) to wrap the XML
    output structure, in this case ContractsList.
  7. Define parameters in the Output format
    table if needed. For example, select the As
    attribute
    check box for a column if you want to use its name
    and value as an attribute for the parent XML element, clear the Use schema column name check box for a column to
    reuse the column label from the input schema as the tag label. In this use
    case, we keep all the default output format settings as they are.
  8. To group output rows according to the contract number, select the
    Use dynamic grouping check box, add a
    line in the Group by table, select
    Contract from the Column list field, and enter an attribute for it in the
    Attribute label field.

    use_case-tfileinputpos_xml_advsettings2.png

  9. Leave all the other parameters as they are.

Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x