> ## Documentation Index
> Fetch the complete documentation index at: https://docs.arc.cdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Mapping

> How mapping works in CData Arc, including node types, Foreach loops, AI-assisted mapping, and best practices.

export const companyName = "CData";

export const siteNameShort = "Arc";

export const siteName = "CData Arc";

Mapping plays a critical role in facilitating seamless data transformation and exchange within the {siteName} platform. Both the [XML Map connector](../connectors/xml-map/xml-map) and the [EDI Trading Partner Management Console](../tpmc/tpmc) (TPMC) rely on mapping to define how data is translated between various XML data structures. In the TPMC, mapping is used to align incoming EDI documents with internal destination connectors like databases or to convert internal XML data into outbound EDI documents for trading partners. The XML Map connector enables users to define mappings between a source and target XML structures. The simple drag-and-drop interface ensures that data is correctly restructured to meet partner or system requirements, enabling accurate and reliable communication across diverse systems.

The following topics describe how to:

* [Configure Mappings](./mapping-config)
* [Use the Node Value Editor](./mapping-node-value-editor) to modify values as they are mapped from the source to the destination
* [Use the Condition Editor](./mapping-condition-editor) to add conditions to destination nodes so that they are only included in the output when the condition is true. You can also use the condition editor to set the value of a destination node based on values from the source.
