---
title: "Key Mapping"
slug: "key-mapping"
updated: 2024-11-26T17:13:24Z
published: 2024-11-26T17:13:24Z
---

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

# Key Mapping

| **Param name** | **Mandatory** | **Description** | **Possible Value** |
| --- | --- | --- | --- |
| source | Yes | The xpath to the RAS field. | Not null. |
| dest | Yes | The name that will be assigned to this RAS field. | Not null. |

**Example XML:**

```xml
<XmlParser>
   <Encoding>utf-8</Encoding>
   <Tag>audio</Tag>
   <SelectionNode>/audio[status='Playing' or status='' or not(status)]</SelectionNode>
   <KeyMappings>
     <KeyMapping source="./artist" dest="artist" />
     <KeyMapping source="./producer" dest="artist" />
     <KeyMapping source="./title" dest="title" />
     <KeyMapping source="./album_title" dest="album" />
     <KeyMapping source="./label_name" dest="label" />
     <KeyMapping source="./type" dest="category" />
     <KeyMapping source="./number" dest="cartNumber" />
     <KeyMapping source="./length" dest="length" />
   </KeyMappings>
</XmlParser>
```
