Key Mapping

Prev Next

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:

<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>